MCPcopy
hub / github.com/processing/p5.js / rotateY

Method rotateY

src/math/Matrices/Matrix.js:1182–1184  ·  view source on GitHub ↗

* Rotates the matrix around the Y-axis by a given angle. * * This method modifies the current matrix to apply a rotation transformation * around the Y-axis. The rotation is performed in 3D space, and the angle * is specified in radians. Rotating around the Y-axis means that the X and Z

(a)

Source from the content-addressed store, hash-verified

1180 * }
1181 */
1182 rotateY(a) {
1183 this.rotate4x4(a, 0, 1, 0);
1184 }
1185
1186 /**
1187 * Rotates the matrix around the Z-axis by a given angle.

Callers 7

sketch.jsFile · 0.45
makeSketchFunction · 0.45
environment.jsFile · 0.45
transform.jsFile · 0.45
p5.Geometry.jsFile · 0.45
webgpu.jsFile · 0.45
webgl.jsFile · 0.45

Calls 1

rotate4x4Method · 0.95

Tested by

no test coverage detected