Matrix.makeIdentity

Makes the current matrix an identity matrix.

struct Matrix(E, uint rows_, uint cols_, Layout layout = Layout.rowMajor)
static if(rows == cols)
void
makeIdentity
()
()
if (
rows_ >= 1 &&
cols_ >= 1
)

Meta