class Z80Lib3D::Primitives::Rotation
Z80Lib3D::Primitives::Rotation
¶ ↑
The elements of this object can be used to construct rotation matrices Rα, Rβ, Rγ.
Each Rotation
member is a 16-bit fixed point, twos complement signed number with the integral part in its high 8 bits and the fractional part in its low 8 bits, in the range: [-1.0, 1.0].
Rotation
members:
-
sin_a
:word
-
cos_a
:word
-
yaw
:SinCos
alias of (sin_a
,cos_a
) -
sin_b
:word
-
cos_b
:word
-
pitch
:SinCos
alias of (sin_b
,cos_b
) -
sin_c
:word
-
cos_c
:word
-
roll
:SinCos
alias of (sin_c
,cos_c
)