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

Method rotateX

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

Source from the content-addressed store, hash-verified

221
222
223 public void rotateX(float angle) {
224 float c = cos(angle);
225 float s = sin(angle);
226 apply(1, 0, 0, 0, 0, c, -s, 0, 0, s, c, 0, 0, 0, 0, 1);
227 }
228
229
230 public void rotateY(float angle) {

Callers

nothing calls this directly

Calls 3

cosMethod · 0.95
sinMethod · 0.95
applyMethod · 0.95

Tested by

no test coverage detected