Changeset 2792 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 06/20/08 19:33:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r2790 r2792 79 79 mTestNodesIdx(-1), 80 80 mIndicesPtr(-1), 81 mIndices(NULL),82 81 mId(0), 83 82 mIsMaxDepthForVirtualLeaf(false), … … 95 94 { 96 95 mVisibility.Reset(); 97 98 96 mLastRenderedFrame = -999; 99 97 } … … 111 109 112 110 111 BvhInterior::~BvhInterior() 112 { 113 DEL_PTR(mBack); 114 DEL_PTR(mFront); 115 } 116 117 113 118 BvhLeaf::~BvhLeaf() 114 119 { … … 151 156 Bvh::~Bvh() 152 157 { 153 if (mVertices) delete [] mVertices;158 if (mVertices) delete [] mVertices; 154 159 if (mIndices) delete [] mIndices; 155 160 if (mTestIndices) delete [] mTestIndices; … … 157 162 158 163 if (mRoot) delete mRoot; 164 165 // delete vbo 166 glDeleteBuffersARB(1, &mVboId); 159 167 } 160 168
Note: See TracChangeset
for help on using the changeset viewer.