3d is supposed to be lowercase

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 3 years ago
parent 41505dada8
commit 54b3272a02
  1. 2
      src/sig/SigRenderer.java
  2. 6
      src/sig/Triangle.java

@ -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();

@ -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;

Loading…
Cancel
Save