MCPcopy Index your code
hub / github.com/benfry/processing4 / ortho

Method ortho

core/src/processing/opengl/PGraphicsOpenGL.java:4440–4443  ·  view source on GitHub ↗

Calls ortho() with the proper parameters for Processing's standard orthographic projection.

()

Source from the content-addressed store, hash-verified

4438 * orthographic projection.
4439 */
4440 @Override
4441 public void ortho() {
4442 ortho(-width/2f, width/2f, -height/2f, height/2f, 0, eyeDist * 10);
4443 }
4444
4445
4446 /**

Callers

nothing calls this directly

Calls 3

flushMethod · 0.95
updateProjmodelviewMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected