How to get the GL and GLU in P2.0
in
Core Library Questions
•
1 year ago
In 1.5.1 I use to do this...
- pgl = (PGraphicsOpenGL) g;
- gl = pgl.gl;
- glu = pgl.glu;
Early 2.0, it was this
- pgl = (PGraphicsOpenGL) g;
- gl = pgl.gl.getGL2();
- glu = new GLUgl2();
And then this in 2.0a4...
So now I'm picking up the latest P2.0 b3 and trying to grab it, but can't figure out what it has changed to. Any help would be appreciated.
- pgl = (PGraphicsOpenGL) g;
- gl = pgl.pgl.gl2;
- glu = new GLUgl2();
So now I'm picking up the latest P2.0 b3 and trying to grab it, but can't figure out what it has changed to. Any help would be appreciated.
1