done with the PGL refactoring

This commit is contained in:
codeanticode
2013-09-13 15:02:36 -04:00
parent b4827a92ce
commit 51947ae116
7 changed files with 1025 additions and 2636 deletions
@@ -0,0 +1,10 @@
package processing.lwjgl;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics2D extends processing.opengl.PGraphics2D {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
}
@@ -0,0 +1,10 @@
package processing.lwjgl;
import processing.opengl.PGL;
import processing.opengl.PGraphicsOpenGL;
public class PGraphics3D extends processing.opengl.PGraphics3D {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
}
@@ -30,8 +30,7 @@ import processing.opengl.PGraphicsOpenGL;
*
*/
public class PGraphicsLWJGL extends PGraphicsOpenGL {
static public PGL createPGL(PGraphicsOpenGL pg) {
protected PGL createPGL(PGraphicsOpenGL pg) {
return new PLWJGL(pg);
}
}
File diff suppressed because it is too large Load Diff