Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
@ -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();
@ -1,8 +1,10 @@
package sig;
import javax.vecmath.Vector3d;
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.B=B;
this.C=C;