public static Mat3f Subtract(Mat3f left, Mat3f right) { return(new Mat3f() { c0 = Vec3f.Subtract(left.c0, right.c0), c1 = Vec3f.Subtract(left.c1, right.c1), c2 = Vec3f.Subtract(left.c2, right.c2) }); }
public static void Subtract(ref Mat3f left, ref Mat3f right, out Mat3f result) { Vec3f.Subtract(ref left.c0, ref right.c0, out result.c0); Vec3f.Subtract(ref left.c1, ref right.c1, out result.c1); Vec3f.Subtract(ref left.c2, ref right.c2, out result.c2); }