Replaces the current matrix of a shape with the identity matrix. The equivalent function in OpenGL is glLoadIdentity() . @webref pshape:method @webBrief Replaces the current matrix of a shape with the identity matrix @usage web_application @see PShape#rotate(float) @see PShape#scale(float) @s
()
| 3356 | * @see PShape#translate(float, float) |
| 3357 | */ |
| 3358 | public void resetMatrix() { |
| 3359 | checkMatrix(2); |
| 3360 | matrix.reset(); |
| 3361 | } |
| 3362 | |
| 3363 | |
| 3364 | public void applyMatrix(PMatrix source) { |
no test coverage detected