Exemplo n.º 1
0
 public void                                     FromEuler(Vector _EulerAngles)
 {
     Matrix3x3 MatX = new Matrix3x3(INIT_TYPES.ROT_X, _EulerAngles.x); Matrix3x3 MatY = new Matrix3x3(INIT_TYPES.ROT_Y, _EulerAngles.y); Matrix3x3 MatZ = new Matrix3x3(INIT_TYPES.ROT_Z, _EulerAngles.z); Set(MatX * MatY * MatZ);
 }
Exemplo n.º 2
0
 public Matrix3x3(Matrix3x3 _Source)
 {
     Set(_Source);
 }
Exemplo n.º 3
0
 public Matrix3x3                        MakePYR(float _fPitch, float _fYaw, float _fRoll)
 {
     Matrix3x3 Pitch = new Matrix3x3(INIT_TYPES.ROT_X, _fPitch); Matrix3x3 Yaw = new Matrix3x3(INIT_TYPES.ROT_Y, _fYaw); Matrix3x3 Roll = new Matrix3x3(INIT_TYPES.ROT_Z, _fRoll); Set(Roll * Yaw * Pitch); return(this);
 }