Changeset 3291 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 01/23/09 18:33:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3290 r3291 616 616 //LoadModel("sibenik.dem", dynamicObjects); 617 617 618 if ( 0) LoadPompeiiFloor();619 620 #if 1618 if (1) LoadPompeiiFloor(); 619 620 #if 0 621 621 const Vector3 sceneCenter(470.398f, 240.364f, 181.7f); 622 622 //const Vector3 sceneCenter(470.398f, 240.364f, 180.3); … … 630 630 for (int i = 0; i < 10; ++ i) 631 631 { 632 cout << "here3" << endl;633 632 SceneEntity *ent = new SceneEntity(*buddha); 634 633 resourceManager->AddSceneEntity(ent); … … 1120 1119 void MainLoop() 1121 1120 { 1122 if ( 0)//buddha)1121 if (buddha) 1123 1122 { 1124 1123 Matrix4x4 oldTrafo = buddha->GetTransform()->GetMatrix(); … … 1146 1145 1147 1146 //const float rotAngle = M_PI * 1e-3f; 1148 const float rotAngle = 1.0f * M_PI / 180.0f;1147 const float rotAngle = 0.3f * M_PI / 180.0f; 1149 1148 1150 1149 Matrix4x4 rotMatrix = RotationZMatrix(rotAngle); 1151 dynamicObjects[ 2]->GetTransform()->MultMatrix(rotMatrix);1152 1153 motionPath->Move(0.0 1f);1150 dynamicObjects[1]->GetTransform()->MultMatrix(rotMatrix); 1151 1152 motionPath->Move(0.005f); 1154 1153 } 1155 1154
Note: See TracChangeset
for help on using the changeset viewer.