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

Method shearX

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

Source from the content-addressed store, hash-verified

289
290
291 public void shearX(float angle) {
292 float t = (float) Math.tan(angle);
293 apply(1, t, 0, 0,
294 0, 1, 0, 0,
295 0, 0, 1, 0,
296 0, 0, 0, 1);
297 }
298
299
300 public void shearY(float angle) {

Callers

nothing calls this directly

Calls 2

applyMethod · 0.95
tanMethod · 0.45

Tested by

no test coverage detected