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