Exemplo n.º 1
0
        /// <summary>
        /// Transposes a matrix.
        /// </summary>
        /// <param name="m">A <see cref="Matrix3"/> instance.</param>
        /// <returns>A new <see cref="Matrix3"/> instance containing the transposed matrix.</returns>
        public static Matrix3 Transpose(Matrix3 m)
        {
            Matrix3 t = new Matrix3(m);

            t.Transpose();
            return(t);
        }
Exemplo n.º 2
0
 public static Vector3 operator *(Vector3 rkPoint, Matrix3 rkMatrix)
 {
     return(Matrix3.Transpose(rkMatrix) * rkPoint);
 }