/// <summary> /// Used to allow assignment from a Matrix3 to a Matrix4 object. /// </summary> /// <param name="right"></param> /// <returns></returns> public static Matrix4 FromMatrix3(Matrix3 right) { return(right); }
/// <summary> /// Used to allow assignment from a Matrix3 to a Matrix4 object. /// </summary> /// <param name="result"></param> /// <param name="right"></param> /// <returns></returns> public static void FromMatrix3Ref(ref Matrix4 result, ref Matrix3 right) { result.m00 = right.m00; result.m01 = right.m01; result.m02 = right.m02; result.m10 = right.m10; result.m11 = right.m11; result.m12 = right.m12; result.m20 = right.m20; result.m21 = right.m21; result.m22 = right.m22; }