Hi all, i find no good documentation on how to use the CS Geometry Utility classes. Currently i try to get an overview of the available classes and how to do basic transformation/rotation/scale stuff.
The only real sources i've found are from the demo applications, for example: // the camera... iCamera* c = view->GetCamera(); // the translation vector csVector3 tr = csVector3(0,-5,0); // the rotation matrix csMatrix3 rot = (csXRotMatrix3(rotX) * csYRotMatrix3(rotY)); // the camera position csVector3 cam_pos = c->GetTransform().GetOrigin(); // do the transformation csOrthoTransform ot(rot, cam_pos); c->SetTransform(ot); My problem is that i don't know how to do simple translations, rotations seems ok, but how to create a translation matrix and combine it with the rotation matrix so i have one matrix for example ? For the first testing i try to create a third person camera movement, i'm stuck with the translation. Is there a short tutorial on how to use these classes ? Or more example source ? hope someone can help me, best regards, Steven Truppe ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[email protected]?subject=unsubscribe
