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