diff options
author | Sven Gothel <[email protected]> | 2009-09-14 11:45:30 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-09-14 11:45:30 -0700 |
commit | 0afab6a652471cf1c140d3affe6ae442ab217ff1 (patch) | |
tree | b515e3913c878ccb07c4c246be06c51b91200469 /src/demos/es1 | |
parent | e7003e596519e225ecec5b4423314c4dcaa05db8 (diff) |
Fixes and tested JOGLNewtApplet1Run/JOGLNewtAppletBase
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-x | src/demos/es1/angeles/AngelesES1.java | 4 | ||||
-rwxr-xr-x | src/demos/es1/angeles/AngelesGL.java | 4 | ||||
-rwxr-xr-x | src/demos/es1/cubefbo/FBCubes.java | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/AngelesES1.java b/src/demos/es1/angeles/AngelesES1.java index c5de891..bfb4a78 100755 --- a/src/demos/es1/angeles/AngelesES1.java +++ b/src/demos/es1/angeles/AngelesES1.java @@ -31,6 +31,10 @@ import java.nio.*; public class AngelesES1 implements GLEventListener { + public AngelesES1() { + this(true); + } + public AngelesES1(boolean enableBlending) { blendingEnabled = enableBlending; quadVertices = BufferUtil.newIntBuffer(12); diff --git a/src/demos/es1/angeles/AngelesGL.java b/src/demos/es1/angeles/AngelesGL.java index bae7b5c..12206de 100755 --- a/src/demos/es1/angeles/AngelesGL.java +++ b/src/demos/es1/angeles/AngelesGL.java @@ -32,6 +32,10 @@ import java.nio.*; public class AngelesGL implements GLEventListener { + public AngelesGL() { + this(true); + } + public AngelesGL(boolean enableBlending) { blendingEnabled = enableBlending; quadVertices = BufferUtil.newFloatBuffer(12); diff --git a/src/demos/es1/cubefbo/FBCubes.java b/src/demos/es1/cubefbo/FBCubes.java index ad4e120..ecef02d 100755 --- a/src/demos/es1/cubefbo/FBCubes.java +++ b/src/demos/es1/cubefbo/FBCubes.java @@ -39,7 +39,7 @@ import javax.media.opengl.*; import com.sun.opengl.util.FBObject; import com.sun.opengl.util.glsl.fixedfunc.*; -class FBCubes implements GLEventListener { +public class FBCubes implements GLEventListener { private static final int FBO_SIZE = 256; public FBCubes () { |