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