Changeset 2163 for GTP/trunk/App/Demos/Illum/Ogre/src/Common
- Timestamp:
- 02/26/07 09:48:36 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/src/SceneSerializer.cpp
r1079 r2163 39 39 Matrix4 transformMatrix = StringConverter::parseMatrix4(params); 40 40 context.sceneNode->setOrientation(transformMatrix.extractQuaternion()); 41 41 42 Vector4 x(1,0,0,0); 42 43 x = transformMatrix * x; … … 49 50 (Vector3(z.x,z.y,z.z)).length()); 50 51 context.sceneNode->translate(transformMatrix.getTrans()); 52 51 53 return false; 52 54 }
Note: See TracChangeset
for help on using the changeset viewer.