summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/demo/GPUTextNewtDemo01.java5
-rw-r--r--src/demo/GPUTextNewtDemo02.java5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/demo/GPUTextNewtDemo01.java b/src/demo/GPUTextNewtDemo01.java
index 7bad55aa5..a07ead417 100644
--- a/src/demo/GPUTextNewtDemo01.java
+++ b/src/demo/GPUTextNewtDemo01.java
@@ -61,7 +61,7 @@ public class GPUTextNewtDemo01 {
window = GLWindow.create(caps);
window.setPosition(10, 10);
- window.setSize(500, 500);
+ window.setSize(400, 400);
window.setTitle("GPU Text Newt Demo 01 - r2t0 msaa1");
textGLListener = new TextGLListener();
@@ -76,7 +76,8 @@ public class GPUTextNewtDemo01 {
private class TextGLListener extends GPUTextGLListenerBase01 {
public TextGLListener() {
super(SVertex.factory(), Region.SINGLE_PASS, DEBUG, TRACE);
- setMatrix(-10, 10, 0f, -70, 0);
+ //setMatrix(-10, 10, 0f, -70, 0);
+ setMatrix(-10, 10, 0f, -100, 400);
}
public void init(GLAutoDrawable drawable) {
diff --git a/src/demo/GPUTextNewtDemo02.java b/src/demo/GPUTextNewtDemo02.java
index bda7fe0e2..012ee9936 100644
--- a/src/demo/GPUTextNewtDemo02.java
+++ b/src/demo/GPUTextNewtDemo02.java
@@ -27,13 +27,10 @@
*/
package demo;
-import java.io.IOException;
-
import javax.media.opengl.GL;
import javax.media.opengl.GL3;
import javax.media.opengl.GLAutoDrawable;
import javax.media.opengl.GLCapabilities;
-import javax.media.opengl.GLException;
import javax.media.opengl.GLProfile;
import com.jogamp.graph.curve.Region;
@@ -89,7 +86,7 @@ public class GPUTextNewtDemo02 {
private class TextGLListener extends GPUTextGLListenerBase01 {
public TextGLListener() {
super(SVertex.factory(), Region.TWO_PASS, DEBUG, TRACE);
- setMatrix(-10, 10, 0f, -1000, 400);
+ setMatrix(-10, 10, 0f, -100, 400);
}
public void init(GLAutoDrawable drawable) {