Ejemplo n.º 1
0
 public Plane(Vector norm, double offset, Surface surface) 
 {
     this.norm = norm;
     this.offset = offset;
     this.surface = surface;
 }
Ejemplo n.º 2
0
 public Sphere(Vector center, double radius, Surface surface) 
 {
     this.center = center;
     this.radius2 = radius * radius;
     this.surface = surface;
 }