Changeset 3236 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Timestamp:
- 12/26/08 03:40:45 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r3235 r3236 267 267 mVboId = -1; 268 268 // bound the maximal depth of the dynamic branch 269 mMaxDepthForDynamicBranch = 1 0;269 mMaxDepthForDynamicBranch = 1; 270 270 } 271 271 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ResourceManager.cpp
r3226 r3236 109 109 int shapeId; 110 110 str.read(reinterpret_cast<char *>(&shapeId), sizeof(int)); 111 cout<<"x"; 111 112 112 113 Geometry *geom = mGeometryTable[shapeId]; 114 cout<<"y"; 115 113 116 Material *mat = mMaterialTable[shapeId]; 114 117 cout<<"z"; 115 118 // create shape 116 119 Shape *shape = new Shape(geom, mat); 120 cout<<"w"; 121 117 122 mShapes.push_back(shape); 118 123 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Shape.cpp
r3114 r3236 15 15 mGeometry(geometry), 16 16 mMaterial(mat) 17 { 17 { std::cout<<"i"; 18 18 mCenter = GetBoundingBox().Center(); 19 std::cout<<"R"; 19 20 } 20 21 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3235 r3236 578 578 579 579 580 //LoadModel("vienna_full_hp.dem", dynamicObjects);581 //dynamicObjects.back()->GetTransform()->SetMatrix(transl);580 LoadModel("vienna_full_hp.dem", dynamicObjects); 581 dynamicObjects.back()->GetTransform()->SetMatrix(transl); 582 582 583 583
Note: See TracChangeset
for help on using the changeset viewer.