createIdentity MethodStatic

create an identity matrix.

  • all diagonal entries (xx,yy,zz) are one
  • all others are zero.
  • This (rather than all zeros) is the useful state for most graphics transformations.
    [100010001]\begin{bmatrix}1 0 0 \\ 0 1 0 \\ 0 0 1\end{bmatrix}

createIdentity(result?: Matrix3d): Matrix3d

Parameter Type Description
result Matrix3d  

Returns - Matrix3d

Defined in

Last Updated: 11 June, 2024