- Timestamp:
- 07/31/06 19:31:21 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgunittests/osgunittests.cpp
r5368 r5371 223 223 // create two matrices based on the input quats 224 224 osg::Matrixd mat1,mat2; 225 mat1. set(rot_quat1);226 mat2. set(rot_quat2);225 mat1.makeRotate(rot_quat1); 226 mat2.makeRotate(rot_quat2); 227 227 228 228 // create an output quat by matrix multiplication and get … … 230 230 out_mat = mat2 * mat1; 231 231 osg::Quat out_quat2; 232 out_ mat.get(out_quat2);232 out_quat2 = out_mat.getRotate(); 233 233 234 234 // if the output quat length is not one
