Name

resetMatrix

Examples
size(100, 100, P3D)
noFill()
box(80)
printMatrix()

resetMatrix()
box(80)
printMatrix()
Description Replaces the current matrix with the identity matrix. The equivalent function in OpenGL is glLoadIdentity().
Syntax
resetMatrix()
Related pushMatrix
popMatrix
applyMatrix
printMatrix
Creative Commons License