MCPcopy Index your code
hub / github.com/processing/processing / resetMatrix

Method resetMatrix

core/src/processing/core/PShape.java:3268–3271  ·  view source on GitHub ↗

( 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

()

Source from the content-addressed store, hash-verified

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) {

Callers 2

beginDrawMethod · 0.45
beginDrawMethod · 0.45

Calls 2

checkMatrixMethod · 0.95
resetMethod · 0.65

Tested by

no test coverage detected