Py5Graphics.reset_matrix()
Contents
Py5Graphics.reset_matrix()¶
Replaces the current matrix with the identity matrix.
Description¶
Replaces the current matrix with the identity matrix. The equivalent function in OpenGL is gl_load_identity()
.
This method is the same as reset_matrix() but linked to a Py5Graphics
object. To see example code for how it can be used, see reset_matrix().
Underlying Processing method: PGraphics.resetMatrix