From f6adac139902eba94bab1268dd5503d8af2f886a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 12 Apr 2013 15:35:06 -0700 Subject: [PATCH] change a couple more long ints --- libraries/voxels/src/VoxelTree.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libraries/voxels/src/VoxelTree.h b/libraries/voxels/src/VoxelTree.h index 486d560be8..618a3710ae 100644 --- a/libraries/voxels/src/VoxelTree.h +++ b/libraries/voxels/src/VoxelTree.h @@ -19,15 +19,10 @@ const int MAX_TREE_SLICE_BYTES = 26; const int TREE_SCALE = 10; class VoxelTree { - VoxelNode * nodeForOctalCode(VoxelNode *ancestorNode, unsigned char * needleCode, VoxelNode** parentOfFoundNode); - VoxelNode * createMissingNode(VoxelNode *lastParentNode, unsigned char *deepestCodeToCreate); - int readNodeData(VoxelNode *destinationNode, unsigned char * nodeData, int bufferSizeBytes); - - public: - long int voxelsCreated; - long int voxelsColored; - long int voxelsBytesRead; + long voxelsCreated; + long voxelsColored; + long voxelsBytesRead; CounterStatHistory voxelsCreatedStats; CounterStatHistory voxelsColoredStats; @@ -56,6 +51,10 @@ public: void loadVoxelsFile(const char* fileName, bool wantColorRandomizer); void createSphere(float r,float xc, float yc, float zc, float s, bool solid, bool wantColorRandomizer); +private: + VoxelNode * nodeForOctalCode(VoxelNode *ancestorNode, unsigned char * needleCode, VoxelNode** parentOfFoundNode); + VoxelNode * createMissingNode(VoxelNode *lastParentNode, unsigned char *deepestCodeToCreate); + int readNodeData(VoxelNode *destinationNode, unsigned char * nodeData, int bufferSizeBytes); }; int boundaryDistanceForRenderLevel(unsigned int renderLevel);