You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
287 B
15 lines
287 B
3 years ago
|
package sig;
|
||
|
|
||
|
public class Triangle {
|
||
|
Vector3D A,B,C;
|
||
|
Triangle(Vector3D A,Vector3D B,Vector3D C) {
|
||
|
this.A=A;
|
||
|
this.B=B;
|
||
|
this.C=C;
|
||
|
}
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "Triangle [A=" + A + ", B=" + B + ", C=" + C + "]";
|
||
|
}
|
||
|
}
|