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/Quadtree.cpp

Diff revisions: vs.
  @@ -13,7 +13,7 @@
13 13
14 14 Quadtree::~Quadtree()
15 15 {
16 - MemoryManager::SAFE_DELETE( _root );
16 + MemoryManager::DELETE( _root );
17 17 }
18 18
19 19 void Quadtree::sceneUpdate(const U64 deltaTime, SceneGraphNode* const sgn, SceneState& sceneState) {
  @@ -60,7 +60,7 @@
60 60 }
61 61
62 62 void Quadtree::Build( BoundingBox& terrainBBox, const vec2<U32>& HMsize, U32 minHMSize, Terrain* const terrain) {
63 - _root = New QuadtreeNode();
63 + _root = MemoryManager_NEW QuadtreeNode();
64 64 _root->setBoundingBox(terrainBBox);
65 65
66 66 _root->Build(0, vec2<U32>(0, 0), HMsize, minHMSize, terrain, _chunkCount);