Esempio n. 1
0
		internal static void PrependInverseTransform( Matrix3D matrix, ref Matrix3D viewMatrix )
		{
			matrix.Invert();
			viewMatrix.Prepend( matrix );
		}
Esempio n. 2
0
 private void ComposeMatrix()
 {
     if (_decomposeDirty)
     {
         _matrix = Matrix3D.Identity;
         _matrix.Translate(_translation);
         _matrix.Prepend(Math3D.CreateYawPitchRollMatrix(_rotation));
         _decomposeDirty = false;
     }
 }