mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +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;
|
nodeColor _currentColor;
|
||||||
bool _falseColored;
|
bool _falseColored;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
glBufferIndex _glBufferIndex;
|
glBufferIndex _glBufferIndex;
|
||||||
bool _isDirty;
|
bool _isDirty;
|
||||||
bool _shouldRender;
|
bool _shouldRender;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VoxelNode();
|
VoxelNode();
|
||||||
~VoxelNode();
|
~VoxelNode();
|
||||||
|
@ -46,19 +44,14 @@ public:
|
||||||
bool isLeaf() const;
|
bool isLeaf() const;
|
||||||
void getAABox(AABox& box) const;
|
void getAABox(AABox& box) const;
|
||||||
void printDebugDetails(const char* label) const;
|
void printDebugDetails(const char* label) const;
|
||||||
|
|
||||||
bool isDirty() const { return _isDirty; };
|
bool isDirty() const { return _isDirty; };
|
||||||
void clearDirtyBit() { _isDirty = false; };
|
void clearDirtyBit() { _isDirty = false; };
|
||||||
|
|
||||||
glBufferIndex getBufferIndex() const { return _glBufferIndex; };
|
glBufferIndex getBufferIndex() const { return _glBufferIndex; };
|
||||||
bool isKnownBufferIndex() const { return (_glBufferIndex != GLBUFFER_INDEX_UNKNOWN); };
|
bool isKnownBufferIndex() const { return (_glBufferIndex != GLBUFFER_INDEX_UNKNOWN); };
|
||||||
void setBufferIndex(glBufferIndex index) { _glBufferIndex = index; };
|
void setBufferIndex(glBufferIndex index) { _glBufferIndex = index; };
|
||||||
|
|
||||||
// whether or not we should render
|
|
||||||
void setShouldRender(bool shouldRender);
|
void setShouldRender(bool shouldRender);
|
||||||
bool getShouldRender() const { return _shouldRender; }
|
bool getShouldRender() const { return _shouldRender; }
|
||||||
|
|
||||||
|
|
||||||
#ifndef NO_FALSE_COLOR // !NO_FALSE_COLOR means, does have false color
|
#ifndef NO_FALSE_COLOR // !NO_FALSE_COLOR means, does have false color
|
||||||
void setFalseColor(colorPart red, colorPart green, colorPart blue);
|
void setFalseColor(colorPart red, colorPart green, colorPart blue);
|
||||||
void setFalseColored(bool isFalseColored);
|
void setFalseColored(bool isFalseColored);
|
||||||
|
|
Loading…
Reference in a new issue