mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Update to latest JOGL
This commit is contained in:
@@ -11,7 +11,8 @@ int fint = 3;
|
||||
|
||||
void setup() {
|
||||
size(640, 360, P3D);
|
||||
frameRate(120);
|
||||
frameRate(60);
|
||||
noSmooth();
|
||||
noStroke();
|
||||
|
||||
grid = createShape(PShape.GROUP);
|
||||
@@ -98,6 +99,8 @@ void draw() {
|
||||
shape(grid);
|
||||
popMatrix();
|
||||
|
||||
hint(ENABLE_DEPTH_TEST);
|
||||
|
||||
fcount += 1;
|
||||
int m = millis();
|
||||
if (m - lastm > 1000 * fint) {
|
||||
|
||||
Reference in New Issue
Block a user