mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Fixed argument order in ortho(left, right, top, bottom)
This commit is contained in:
@@ -4394,7 +4394,7 @@ public class PGraphicsOpenGL2 extends PGraphics {
|
||||
* from the current camera configuration.
|
||||
*/
|
||||
public void ortho(float left, float right, float bottom, float top) {
|
||||
ortho(0, width, 0, height, cameraNear, cameraFar);
|
||||
ortho(left, right, bottom, top, cameraNear, cameraFar);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user