Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EggBinMakerCompareNodes Class Reference

This is just an STL function object, used to sort nodes within EggBinMaker. More...

#include "eggBinMaker.h"

Public Member Functions

 EggBinMakerCompareNodes (EggBinMaker *ebm)
 
bool operator() (const EggNode *a, const EggNode *b) const
 Called by the SortedNodes set to put nodes into bin order.
 

Public Attributes

EggBinMaker_ebm
 

Detailed Description

This is just an STL function object, used to sort nodes within EggBinMaker.

It's part of the private interface; ignore it.

Definition at line 142 of file eggBinMaker.h.

Constructor & Destructor Documentation

◆ EggBinMakerCompareNodes() [1/2]

EggBinMakerCompareNodes::EggBinMakerCompareNodes ( )
inline

Definition at line 144 of file eggBinMaker.h.

◆ EggBinMakerCompareNodes() [2/2]

EggBinMakerCompareNodes::EggBinMakerCompareNodes ( EggBinMaker * ebm)
inline

Definition at line 149 of file eggBinMaker.h.

Member Function Documentation

◆ operator()()

bool EggBinMakerCompareNodes::operator() ( const EggNode * a,
const EggNode * b ) const

Called by the SortedNodes set to put nodes into bin order.

Returns true if the first node falls into an earlier bin than the second node, false otherwise.

Definition at line 30 of file eggBinMaker.cxx.

References EggBinMaker::sorts_less().

Member Data Documentation

◆ _ebm

EggBinMaker* EggBinMakerCompareNodes::_ebm

Definition at line 152 of file eggBinMaker.h.


The documentation for this class was generated from the following files: