Beispiel #1
0
 public Quad2f(Triangle2f t0, Triangle2f t1)
 {
     this.v0 = new Vec2f(t0.v0);
     this.v1 = new Vec2f(t0.v1);
     this.v2 = new Vec2f(t0.v2);
     this.v3 = new Vec2f(t1.v2);
 }
Beispiel #2
0
 public Triangle2f(Triangle2f other)
 {
     this.v0 = new Vec2f(other.v0);
     this.v1 = new Vec2f(other.v1);
     this.v2 = new Vec2f(other.v2);
 }