Matrix4d.normal

Compute a normal matrix from the upper left 3x3 submatrix of <code>this</code> and store it into the upper left 3x3 submatrix of <code>dest</code>. All other values of <code>dest</code> will be set to {@link #identity() identity}. <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 #set3x3(Matrix4d)} to set a given Matrix4d to only the upper left 3x3 submatrix of a given matrix.

@see #set3x3(Matrix4d)

@param dest will hold the result @return dest

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

Meta