Changeset 2702 for GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.cpp
- Timestamp:
- 05/23/08 17:47:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.cpp
r2694 r2702 282 282 mTrafo = IdentityMatrix(); 283 283 284 #if DYNAMIC_OBJECTS_HACK285 284 mIntersectable = new SceneGraphLeafIntersectable(this, mBox); 286 #endif287 285 } 288 286 … … 323 321 } 324 322 325 } 323 324 SceneGraphLeaf::SceneGraphLeaf(SceneGraphLeaf const& copy) 325 { 326 // hack: should just pass a IntersectableGroup as a whole 327 // instead we duplicate the object container and create a new 328 // leaf 329 mGeometry = copy.mGeometry; 330 //for (size_t i = 0; i < copy.mGeometry->size(); ++ i) 331 // mGeometry.push_back(copy.mGeometry[i]); 332 333 mBox = copy.mBox; 334 mTrafo = copy.mTrafo; 335 mIsDynamic = copy.mIsDynamic; 336 } 337 338 }
Note: See TracChangeset
for help on using the changeset viewer.