Panda3D
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. More...
 

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.

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 31 of file eggBinMaker.cxx.

References EggBinMaker::sorts_less().


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