public void NonhomogeneousInverse() { FMat2 m3 = this; m3.Invert(); this.x = m3.x; this.y = m3.y; FVec3 v = m3 * this.z; this.z.x = -v.x; this.z.y = -v.y; }
public static FMat3 NonhomogeneousInverse(FMat3 m) { FMat2 m2 = m; m2.Invert(); FMat3 o = m2; FVec3 v = m2 * m.z; o.z.x = -v.x; o.z.y = -v.y; return(o); }