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

Method rotateZ

core/src/processing/core/PMatrix3D.java:237–241  ·  view source on GitHub ↗
(float angle)

Source from the content-addressed store, hash-verified

235
236
237 public void rotateZ(float angle) {
238 float c = cos(angle);
239 float s = sin(angle);
240 apply(c, -s, 0, 0, s, c, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
241 }
242
243
244 public void rotate(float angle, float v0, float v1, float v2) {

Callers 1

rotateMethod · 0.95

Calls 3

cosMethod · 0.95
sinMethod · 0.95
applyMethod · 0.95

Tested by

no test coverage detected