Ignore:
Timestamp:
01/23/09 18:33:15 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r3290 r3291  
    616616        //LoadModel("sibenik.dem", dynamicObjects); 
    617617 
    618         if (0) LoadPompeiiFloor(); 
    619  
    620 #if 1 
     618        if (1) LoadPompeiiFloor(); 
     619 
     620#if 0 
    621621        const Vector3 sceneCenter(470.398f, 240.364f, 181.7f); 
    622622        //const Vector3 sceneCenter(470.398f, 240.364f, 180.3); 
     
    630630        for (int i = 0; i < 10; ++ i) 
    631631        { 
    632                 cout << "here3" << endl; 
    633632                SceneEntity *ent = new SceneEntity(*buddha); 
    634633                resourceManager->AddSceneEntity(ent); 
     
    11201119void MainLoop()  
    11211120{        
    1122         if (0)//buddha) 
     1121        if (buddha) 
    11231122        { 
    11241123                Matrix4x4 oldTrafo = buddha->GetTransform()->GetMatrix(); 
     
    11461145 
    11471146                //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; 
    11491148 
    11501149                Matrix4x4 rotMatrix = RotationZMatrix(rotAngle); 
    1151                 dynamicObjects[2]->GetTransform()->MultMatrix(rotMatrix); 
    1152  
    1153                 motionPath->Move(0.01f); 
     1150                dynamicObjects[1]->GetTransform()->MultMatrix(rotMatrix); 
     1151 
     1152                motionPath->Move(0.005f); 
    11541153        } 
    11551154 
Note: See TracChangeset for help on using the changeset viewer.