Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Environment/Terrain/Quadtree/Headers/QuadtreeNode.h

Diff revisions: vs.
  @@ -55,7 +55,13 @@
55 55 class QuadtreeNode {
56 56 public:
57 57 ///recursive node building function
58 - void Build( const U8 depth, const vec2<U32>& pos, const vec2<U32>& HMsize, U32 minHMSize, Terrain* const terrain, U32& chunkCount );
58 + void Build(const U8 depth,
59 + const vec2<U32>& pos,
60 + const vec2<U32>& HMsize,
61 + U32 minHMSize,
62 + Terrain* const terrain,
63 + U32& chunkCount );
64 +
59 65 bool computeBoundingBox();
60 66 void Destroy();
61 67
  @@ -64,7 +70,10 @@
64 70
65 71 void sceneUpdate(const U64 deltaTime, SceneGraphNode* const sgn, SceneState& sceneState);
66 72
67 - inline bool isALeaf() const { return !(_children[CHILD_NW] && _children[CHILD_NE] && _children[CHILD_SW] && _children[CHILD_SE]); }
73 + inline bool isALeaf() const {
74 + return !(_children[CHILD_NW] && _children[CHILD_NE] && _children[CHILD_SW] && _children[CHILD_SE]);
75 + }
76 +
68 77 inline BoundingBox& getBoundingBox() {return _boundingBox;}
69 78 inline void setBoundingBox(const BoundingBox& bbox) {_boundingBox = bbox;}
70 79 inline TerrainChunk* getChunk() {return _terrainChunk;}