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