mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
store octal code with VoxelNode
This commit is contained in:
parent
2f7767bc9b
commit
14b23fc053
2 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,9 @@
|
|||
|
||||
VoxelNode::VoxelNode() {
|
||||
|
||||
childMask = 0;
|
||||
octalCode = NULL;
|
||||
|
||||
// default pointers to child nodes to NULL
|
||||
for (int i = 0; i < 8; i++) {
|
||||
children[i] = NULL;
|
||||
|
|
|
@ -15,6 +15,7 @@ class VoxelNode {
|
|||
public:
|
||||
VoxelNode();
|
||||
|
||||
unsigned char *octalCode;
|
||||
unsigned char color[4];
|
||||
VoxelNode *children[8];
|
||||
unsigned char childMask;
|
||||
|
|
Loading…
Reference in a new issue