Matrix4d.normal

Compute a normal matrix from the upper left 3x3 submatrix of <code>this</code> and store it into <code>dest</code>. <p> The normal matrix of <code>m</code> is the transpose of the inverse of <code>m</code>. <p> Please note that, if <code>this</code> is an orthogonal matrix or a matrix whose columns are orthogonal vectors, then this method <i>need not</i> be invoked, since in that case <code>this</code> itself is its normal matrix. In that case, use {@link Matrix3d#set(Matrix4d)} to set a given Matrix3d to only the upper left 3x3 submatrix of this matrix.

@see Matrix3d#set(Matrix4d) @see #get3x3(Matrix3d)

@param dest will hold the result @return dest

  1. Matrix4d normal()
  2. Matrix4d normal(Matrix4d dest)
  3. Matrix3d normal(Matrix3d dest)
    struct Matrix4d
    public
    normal

Meta