Difference between revisions of "LlAxes2Rot"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function|func_id=17|func_sleep=0.0|sort=Axes2Rot|func_energy=10.0|func=llAxes2Rot
{{LSL_Function
|return_type=rotation|p1_type=vector|p1_name=fwd
|func_id=17|func_sleep=0.0|sort=Axes2Rot|func_energy=10.0
|func=llAxes2Rot|sort=Axes2Rot
|return_type=rotation
|p1_type=vector|p1_name=fwd
|p2_type=vector|p2_name=left
|p2_type=vector|p2_name=left
|p3_type=vector|p3_name=up
|p3_type=vector|p3_name=up
|return_text=that is defined by the 3 coordinate axes
|return_text=that is defined by the 3 coordinate axes
|notes=Technically, only two non-parallel vectors are needed to define this rotation which can be done by calling:<br/>
|notes=Technically, only two non-parallel vectors are needed to define this rotation which can be done by calling:
<lsl>llAxes2Rot(fwd, left, fwd % left);</lsl>}}
<pre>llAxes2Rot(fwd, left, fwd % left);</pre>
[[Category:LSL_Math/3D]][[Category:LSL_Stub]]
|spec
|caveats
|examples
|helpers
|also_functions
|also_events
|also_tests
|also_articles
|cat1=Math/3D
|cat2
|cat3
|cat4
}}

Revision as of 12:56, 25 February 2007