Difference between revisions of "LlEuler2Rot"
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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: rotation llEuler2Rot( vector v );16 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a rotation representation of Euler Angles v.
• vector | v |
Caveats
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) ); } }