From 54b3272a0284571c232aaa8d67bb837e8aa2de1c Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Mon, 1 Nov 2021 11:16:42 +0000 Subject: [PATCH] 3d is supposed to be lowercase Co-authored-by: sigonasr2 --- src/sig/SigRenderer.java | 2 +- src/sig/Triangle.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sig/SigRenderer.java b/src/sig/SigRenderer.java index 48f80aa..a4f15a0 100644 --- a/src/sig/SigRenderer.java +++ b/src/sig/SigRenderer.java @@ -17,7 +17,7 @@ public class SigRenderer implements MouseListener,MouseMotionListener{ } SigRenderer(JFrame f) { - tri = new Triangle(new Vector3D(),new Vector3D(),new Vector3D()); + tri = new Triangle(new Vector3d(),new Vector3d(),new Vector3d()); System.out.println(tri); Panel p = new Panel(); diff --git a/src/sig/Triangle.java b/src/sig/Triangle.java index 218e0e3..3657e84 100644 --- a/src/sig/Triangle.java +++ b/src/sig/Triangle.java @@ -1,8 +1,10 @@ package sig; +import javax.vecmath.Vector3d; + public class Triangle { - Vector3D A,B,C; - Triangle(Vector3D A,Vector3D B,Vector3D C) { + Vector3d A,B,C; + Triangle(Vector3d A,Vector3d B,Vector3d C) { this.A=A; this.B=B; this.C=C;