diff options
author | Kenneth Russel <[email protected]> | 2007-03-05 22:47:20 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2007-03-05 22:47:20 +0000 |
commit | b2a52f7a23146430d454f1ad6f75b4045829e23e (patch) | |
tree | 487471077e975cfd65a2ecacada9debd3969a0bf /src/demos | |
parent | 8fbdf997f4428e9d82ae73d6134c6cd1c02db436 (diff) |
Fixed package name in Picking demo and added Z values to verify
correct Z computation
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@208 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos')
-rwxr-xr-x | src/demos/misc/Picking.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/demos/misc/Picking.java b/src/demos/misc/Picking.java index a1a0030..2fe8b2d 100755 --- a/src/demos/misc/Picking.java +++ b/src/demos/misc/Picking.java @@ -1,3 +1,5 @@ +package demos.misc; + //================================================================================= // Picking 0.2 (Thomas Bladh) //================================================================================= @@ -171,6 +173,7 @@ public class Picking GLRectangleEntity r1 = new GLRectangleEntity(gl, glu); r1.x = 0.15f; r1.y = 0.25f; + r1.z = 0.75f; r1.w = 0.4f; r1.h = 0.4f; r1.c = red; @@ -181,6 +184,7 @@ public class Picking GLRectangleEntity r2 = new GLRectangleEntity(gl, glu); r2.x = 0.35f; r2.y = 0.45f; + r2.z = 0.5f; r2.w = 0.4f; r2.h = 0.4f; r2.c = green; @@ -191,6 +195,7 @@ public class Picking GLRectangleEntity r3 = new GLRectangleEntity(gl, glu); r3.x = 0.45f; r3.y = 0.15f; + r3.z = 0.25f; r3.w = 0.4f; r3.h = 0.4f; r3.c = blue; |