Invert() public method

public Invert ( ) : Matrix3
return Matrix3
Esempio n. 1
0
        public AffineTransform3 Invert()
        {
            AffineTransform3 result;

            Matrix3.Invert(ref Transform, out result.Transform);
            Vector3.Transform(ref Translation, ref result.Transform, out result.Translation);
            result.Translation = -result.Translation;
            return(result);
        }
Esempio n. 2
0
 public static void Invert(ref AffineTransform3 transform, out AffineTransform3 result)
 {
     Matrix3.Invert(ref transform.Transform, out result.Transform);
     Vector3.Transform(ref transform.Translation, ref result.Transform, out result.Translation);
     result.Translation = -result.Translation;
 }