mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Fixed CameraLight example to take into account fix in ortho() function
This commit is contained in:
@@ -18,7 +18,7 @@ void draw() {
|
||||
if (mousePressed) {
|
||||
// The arguments of ortho are specified in screen coordinates, where (0,0)
|
||||
// is the upper left corner of the screen
|
||||
ortho(0, 0, width, height);
|
||||
ortho(0, width, 0, height);
|
||||
} else {
|
||||
|
||||
float fov = PI/3.0;
|
||||
|
||||
Reference in New Issue
Block a user