operations on rotations/quaternions and celx
Posted: 13.05.2004, 16:06
I am now trying to understand rotations/quaternions manipulation in lua-celx.
Concerning the document:
Celx Objects and Methods (for Celestia version 1.3.2)
(file version 1.5 -- April 26, 2004) availaible on Don site,
I have a few questions:
1- is there a observer:getoriention() or observer:getrotation() method available?
2- what difference (in effect and in parameter type) between
observer:setorientation(rot1)
observer:rotate(rot2)
3-there are 4 diferents binairy operators with 'rotations':
rot1+rot2
rot1*rot2
rot1*scalar
rot1*vector
Are the definition of the first 3 operators conform to the corresponding operators on Quaternions (algebra structure)?
4- what is the definition and meaning of the 4th mixed product (rot2= rot1*vector ) ??
Thanks to all of you...
JPierre.
Concerning the document:
Celx Objects and Methods (for Celestia version 1.3.2)
(file version 1.5 -- April 26, 2004) availaible on Don site,
I have a few questions:
1- is there a observer:getoriention() or observer:getrotation() method available?
2- what difference (in effect and in parameter type) between
observer:setorientation(rot1)
observer:rotate(rot2)
3-there are 4 diferents binairy operators with 'rotations':
rot1+rot2
rot1*rot2
rot1*scalar
rot1*vector
Are the definition of the first 3 operators conform to the corresponding operators on Quaternions (algebra structure)?
4- what is the definition and meaning of the 4th mixed product (rot2= rot1*vector ) ??
Thanks to all of you...
JPierre.