Esempio n. 1
0
 public void    SetCamera(Matrix3D xfrm)
 {
     _xfrmInverse = xfrm;
     _xfrm        = _xfrmInverse.GetInverse();
     _translation = _xfrmInverse.ExtractTranslation();
     xfrm.ExtractBasis(
         out _rightAxis,                         // x axis
         out _upAxis,                            // y axis
         out _forwardAxis                        // z axis
         );
     _rightAxis           = -_rightAxis;
     _bFrustumPlanesDirty = true;
 }
Esempio n. 2
0
 public Class628(Matrix3D scaleMatrix)
 {
     this.matrix3D_0 = scaleMatrix;
     this.matrix3D_1 = scaleMatrix.GetInverse();
 }