summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gleem/linalg/Plane.java4
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();
}