Euler_i.kl

Types

Euler_i (struct)

The Euler_i type represents a 3D rotation as Euler_i X, Y, and Z angles and a RotationOrder. The X, Y, and Z angles are expressed in radians. The Euler_i type also provides conversion methods to Mat33_i.

参考

Quat

/*
** Example: Construct Euler_i
*/

RotationOrder ro('xyz');
Euler_i euler(0.0, PI, 0.0, ro);
Mat33_i matrix = euler.toMat33_i();

Members

SInt32 x  
SInt32 y  
SInt32 z  
RotationOrder ro  

Methods

  Euler_i ( in Euler_i other )
  Euler_i ( in SInt32 x, in SInt32 y, in SInt32 z )
  Euler_i ( in SInt32 x, in SInt32 y, in SInt32 z, in RotationOrder order )
  Euler_i ( in Vec3_i angles )
  Euler_i ( in Vec3_i angles, in RotationOrder order )
  Euler_i ()
Boolean almostEqual ? ( in Euler_i other, in SInt32 precision )
Euler_i clone ? ()
Boolean equal ? ( in Euler_i other )
Vec3_i getAngles ? ()
UInt32 hash ? ()
  set ! ( in SInt32 x, in SInt32 y, in SInt32 z )
  set ! ( in SInt32 x, in SInt32 y, in SInt32 z, in RotationOrder order )
  set ! ( in Vec3_i angles )
  set ! ( in Vec3_i angles, in RotationOrder order )
  setAngles ! ( in Vec3_i angles )
Mat33_i toMat33_i ? ()

Operators

  - Euler_i
Euler_i = ( Param other )