public static Matrix2x2 CreateNormal(Matrix2x3 source) { Matrix2x2 result; CreateNormal(ref source, out result); return(result); }
public static void Copy(ref Matrix2x3 source, out Matrix2x2 dest) { dest.m00 = source.m00; dest.m01 = source.m01; dest.m10 = source.m10; dest.m11 = source.m11; }
public static void CreateNormal(ref Matrix2x3 source, out Matrix2x2 result) { Scalar detInv = 1 / (source.m00 * source.m11 - source.m01 * source.m10); result.m10 = detInv * -source.m01; result.m11 = detInv * source.m00; result.m00 = detInv * source.m11; result.m01 = detInv * -source.m10; }