3d is supposed to be lowercase

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
sigonasr2, Sig, Sigo 2021-11-01 11:16:42 +00:00
parent 41505dada8
commit 54b3272a02
2 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ public class SigRenderer implements MouseListener,MouseMotionListener{
} }
SigRenderer(JFrame f) { 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); System.out.println(tri);
Panel p = new Panel(); Panel p = new Panel();

View File

@ -1,8 +1,10 @@
package sig; package sig;
import javax.vecmath.Vector3d;
public class Triangle { public class Triangle {
Vector3D A,B,C; Vector3d A,B,C;
Triangle(Vector3D A,Vector3D B,Vector3D C) { Triangle(Vector3d A,Vector3d B,Vector3d C) {
this.A=A; this.A=A;
this.B=B; this.B=B;
this.C=C; this.C=C;