You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
This shows you the differences between two versions of the page.
functions:llanglebetween [2014-12-09 16:43 SLT] sei Add nav |
functions:llanglebetween [2015-09-22 19:45 SLT] (current) sei Use another trick for raw |
||
---|---|---|---|
Line 22: | Line 22: | ||
===== Notes ===== | ===== Notes ===== | ||
- | * Given two rotations **r1** and **r2**, there is a third rotation that transforms one into the other, given by **r2**/**r1**. The angle this function returns is the angle of that last rotation. Therefore, it is roughly equivalent to [[llRot2Angle]](r2/r1). | + | * Given two rotations $prm[r1] and $prm[r2], there is a third rotation that transforms one into the other, given by $prm[r2]$op[/]$prm[r1]. The angle this function returns is the angle of that last rotation. Therefore, it is roughly equivalent to ''$lfn[llRot2Angle|llRot2Angle](r2/r1)''. |
===== Short examples ===== | ===== Short examples ===== | ||
Line 32: | Line 32: | ||
===== See also ===== | ===== See also ===== | ||
- | * [[llRotBetween]] Rotation between two vectors | + | * $lfn[llRotBetween] Rotation between two vectors. |
- | * [[types/rotation]] type and operations | + | * $lfn[llRot2Angle] obtains the angle part of a rotation expressed as axis/angle. |
+ | * $lfn[llRot2Axis] obtains the axis part of a rotation expressed as axis/angle. | ||
+ | * $lty[rotation] type and operations. |