Mat4:identity

Edit

Resets the matrix to the identity, effectively setting its translation to zero, its scale to 1, and clearing any rotation.

self = Mat4:identity()

Arguments

None

Returns

NameTypeDescription
selfMat4 The modified matrix.

See also