Example #1
0
 public Plane(Vector3D pos, double d, BaseMaterial material)
 {
     this.position = pos;
     this.d        = d;
     this.material = material;
 }
Example #2
0
 public Sphere(Vector3D pos, double radius, BaseMaterial material)
 {
     this.radius   = radius;
     this.position = pos;
     this.material = material;
 }