vector llRot2Euler(rotation rot)
Returns the
Euler representation of
rot, in
radians.
See
rotations for more information.
Example:
rotation rot = <0.00000, 0.00000, 0.38268, 0.92388>;
vector eulerAngle = llRot2Euler(rot); //convert to Euler angle.
vector eulerRotation = eulerAngle * RAD_TO_DEG; //convert euler angle to euler rotation.
Compare with
llEuler2Rot.
Rotation Math Library
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions /
Rotation