( begin auto-generated from PShape_resetMatrix.xml ) Replaces the current matrix of a shape with the identity matrix. The equivalent function in OpenGL is glLoadIdentity(). ( end auto-generated ) @webref pshape:method @brief Replaces the current matrix of a shape with the identity matrix @usage we
()
| 3266 | * @see PShape#translate(float, float) |
| 3267 | */ |
| 3268 | public void resetMatrix() { |
| 3269 | checkMatrix(2); |
| 3270 | matrix.reset(); |
| 3271 | } |
| 3272 | |
| 3273 | |
| 3274 | public void applyMatrix(PMatrix source) { |
no test coverage detected