/// <summary> /// Multiplacation of a <see cref="Shift__x3t__"/> with a <see cref="M3__x4t__"/>. /// </summary> public static M3__x4t__ Multiply(Shift__x3t__ shift, M3__x4t__ m) { return(new M3__x4t__( m.M00, m.M01, m.M02, m.M03 + shift.X, m.M10, m.M11, m.M12, m.M13 + shift.Y, m.M20, m.M21, m.M22, m.M23 + shift.Z )); }
/// <summary> /// Multiplacation of a <see cref="Scale__x3t__"/> with a <see cref="M3__x4t__"/>. /// </summary> public static M3__x4t__ Multiply(Scale__x3t__ scale, M3__x4t__ mat) { return(new M3__x4t__( scale.X * mat.M00, scale.X * mat.M01, scale.X * mat.M02, scale.X * mat.M03, scale.Y * mat.M10, scale.Y * mat.M11, scale.Y * mat.M12, scale.Y * mat.M13, scale.Z * mat.M20, scale.Z * mat.M21, scale.Z * mat.M22, scale.Z * mat.M23 )); }