mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 15:33:10 +02:00
cleanup
This commit is contained in:
parent
9e374cbf33
commit
cfcfacfbdb
1 changed files with 0 additions and 7 deletions
|
@ -23,11 +23,9 @@ private:
|
|||
nodeColor _currentColor;
|
||||
bool _falseColored;
|
||||
#endif
|
||||
|
||||
glBufferIndex _glBufferIndex;
|
||||
bool _isDirty;
|
||||
bool _shouldRender;
|
||||
|
||||
public:
|
||||
VoxelNode();
|
||||
~VoxelNode();
|
||||
|
@ -46,19 +44,14 @@ public:
|
|||
bool isLeaf() const;
|
||||
void getAABox(AABox& box) const;
|
||||
void printDebugDetails(const char* label) const;
|
||||
|
||||
bool isDirty() const { return _isDirty; };
|
||||
void clearDirtyBit() { _isDirty = false; };
|
||||
|
||||
glBufferIndex getBufferIndex() const { return _glBufferIndex; };
|
||||
bool isKnownBufferIndex() const { return (_glBufferIndex != GLBUFFER_INDEX_UNKNOWN); };
|
||||
void setBufferIndex(glBufferIndex index) { _glBufferIndex = index; };
|
||||
|
||||
// whether or not we should render
|
||||
void setShouldRender(bool shouldRender);
|
||||
bool getShouldRender() const { return _shouldRender; }
|
||||
|
||||
|
||||
#ifndef NO_FALSE_COLOR // !NO_FALSE_COLOR means, does have false color
|
||||
void setFalseColor(colorPart red, colorPart green, colorPart blue);
|
||||
void setFalseColored(bool isFalseColored);
|
||||
|
|
Loading…
Reference in a new issue