/// <summary> /// Performs scalar multiplication of <paramref name="matrix"/> by <paramref name="scale"/>. /// </summary> public static Matrix3D operator *(Matrix3D matrix, float scale) { Matrix3D clone = matrix.Clone(); clone.ScaleInternal(scale); return(clone); }
/// <summary> /// Performs scalar multiplication of <paramref name="matrix"/> by -1. /// </summary> public static Matrix3D operator -(Matrix3D matrix) { Matrix3D clone = matrix.Clone(); clone.ScaleInternal(-1); return(clone); }