From b2a52f7a23146430d454f1ad6f75b4045829e23e Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 5 Mar 2007 22:47:20 +0000 Subject: 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 --- src/demos/misc/Picking.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/demos/misc') 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; -- cgit v1.2.3