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:SinCosalias of (sin_a,cos_a)
- 
sin_b:word
- 
cos_b:word
- 
pitch:SinCosalias of (sin_b,cos_b)
- 
sin_c:word
- 
cos_c:word
- 
roll:SinCosalias of (sin_c,cos_c)