Changeset 3115 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 11/10/08 18:43:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3114 r3115 905 905 buddha->GetShape(0)->GetMaterial()->GetTechnique(1)->GetVertexProgramParameters(); 906 906 907 static Matrix4x4 oldTrafo; 908 909 oldTrafo = buddha->GetTransform()->GetMatrix(); 910 //vtxParams->SetMatrix(2, oldTrafo); 911 907 Matrix4x4 oldTrafo = buddha->GetTransform()->GetMatrix(); 912 908 Vector3 buddhaPos = motionPath->GetCurrentPosition(); 913 909 Matrix4x4 trafo = TranslationMatrix(buddhaPos); … … 915 911 buddha->GetTransform()->SetMatrix(trafo); 916 912 917 //vtxParams->SetMatrix(1, buddha->GetTransform()->GetMatrix()); 913 Matrix4x4 rotMatrix = RotationZMatrix(M_PI * 1e-3f); 914 915 dynamicObjects[1]->GetTransform()->MultMatrix(rotMatrix); 918 916 919 917
Note: See TracChangeset
for help on using the changeset viewer.