From e1e38ea75db2404a9b7c223b099474b8a7fe6c52 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 23 Jul 2004 21:38:09 +0000 Subject: Fixed bug in gleem's Plane constructor pointed out by Aron Bierbaum git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@37 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/gleem/linalg/Plane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gleem/linalg/Plane.java b/src/gleem/linalg/Plane.java index fa58259..d387806 100644 --- a/src/gleem/linalg/Plane.java +++ b/src/gleem/linalg/Plane.java @@ -60,9 +60,9 @@ public class Plane { goes through the point point. Normal does not need to be unit length but must not be the zero vector. */ public Plane(Vec3f normal, Vec3f point) { - this.normal.set(normal); + this.normal = new Vec3f(normal); this.normal.normalize(); - this.point.set(point); + this.point = new Vec3f(point); recalc(); } -- cgit v1.2.3