diff options
author | Kenneth Russel <[email protected]> | 2004-07-23 21:38:09 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-07-23 21:38:09 +0000 |
commit | e1e38ea75db2404a9b7c223b099474b8a7fe6c52 (patch) | |
tree | a959c599279c34edb5031a0066b58094d812616a /src | |
parent | 4fc6fff35d61e7c166ed36fb9739364edace4663 (diff) |
Fixed bug in gleem's Plane constructor pointed out by Aron Bierbaum
<[email protected]>
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@37 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rw-r--r-- | src/gleem/linalg/Plane.java | 4 |
1 files 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 <b>point</b>. 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(); } |