Difference between revisions of "LlEuler2Rot"

From Second Life Wiki
Jump to navigation Jump to search
Line 27: Line 27:
|negative_index
|negative_index
|cat1=Math/3D
|cat1=Math/3D
|cat2
|cat2=Rotations
|cat3
|cat3=Vectors
|cat4
|cat4
}}
}}

Revision as of 16:43, 12 September 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 );