Difference between revisions of "LlAxes2Rot"

From Second Life Wiki
Jump to navigation Jump to search
(added unit vector requirement for llAxes2Rot)
Line 8: Line 8:
|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:
|notes=Technically, only two non-parallel vectors are needed to define this rotation which can be done by calling:
<pre>llAxes2Rot(fwd, left, fwd % left);</pre>
<pre>llAxes2Rot(fwd, left, fwd % left);</pre>All three vectors must be mutually orthogonal unit vectors.
|spec
|spec
|caveats
|caveats
Line 18: Line 18:
|also_articles
|also_articles
|cat1=Math/3D
|cat1=Math/3D
|cat2
|cat2=Rotation
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 00:25, 12 January 2008