Difference between revisions of "LlEuler2Rot"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|caveats
|caveats
|constants
|constants
|examples
|examples=<pre>
default
{
    state_entry()
    {
        vector input = <73.0, -63.0, 20.0> * DEG_TO_RAD;//not advised to make your own quaternion
        llSay(0,"The Euler2Rot of "+(string)input+" is: "+(string)llEuler2Rot(input) );
    }
}
</pre>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llRot2Euler]]|}}
|also_functions={{LSL DefineRow||[[llRot2Euler]]|}}

Revision as of 22:27, 27 February 2007

Summary

Function: rotation llEuler2Rot( vector v );

Returns a rotation representation of Euler Angles v.

• vector v

Examples

default
{
    state_entry()
    {
        vector input = <73.0, -63.0, 20.0> * DEG_TO_RAD;//not advised to make your own quaternion
        llSay(0,"The Euler2Rot of "+(string)input+" is: "+(string)llEuler2Rot(input) );
    }
}

See Also

Functions

•  llRot2Euler

Articles

•  "Wikipedia logo"Euler_Angles

Deep Notes

Search JIRA for related Issues

Signature

function rotation llEuler2Rot( vector v );