On Wednesday 17 March 2010 17:06:27 Rustam Rakhimov wrote: > Reason why I need it, > > I want to know what's rotation has an object, then I can rotate it back, > > But actually I want to calculate rotation of some point in 3D world, so > that's why I decide learn how's rotations are going. There are a lot of > things related with matrix, Quaternion class, LLVector3 class. > > Anyway I need that value, and I want to know where exactly these values are > located. >
LLViewerObject inherits from LLPrimitive which inherits from LLXform. If you look at LLXform you can see it stores rotation as a quaternion, in mRotation. The various ways of getting and setting that rotation (matrix, Euler angles) all translate to/from LLQuaternion eventually. http://omvviewer.byteme.org.uk/snowglobe_1_x_doxygen/classLLViewerObject.html > And last question is what does it means jira from your sentence "which jira > is relevant to this?" > http://jira.secondlife.com/ I hope this helps... -- Thickbrick _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges