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

Method rotateZ

core/src/processing/core/PShape.java:3151–3153  ·  view source on GitHub ↗

( begin auto-generated from PShape_rotateZ.xml ) Rotates a shape around the z-axis the amount specified by the angle parameter. Angles should be specified in radians (values from 0 to TWO_PI) or converted to radians with the radians() method. Shapes are always rotated aro

(float angle)

Source from the content-addressed store, hash-verified

3149 * @see PShape#resetMatrix()
3150 */
3151 public void rotateZ(float angle) {
3152 rotate(angle, 0, 0, 1);
3153 }
3154
3155 /**
3156 * ( begin auto-generated from PShape_rotate.xml )

Callers

nothing calls this directly

Calls 1

rotateMethod · 0.95

Tested by

no test coverage detected