Hermes
|
Public Member Functions | |
Sphere (point3 center, real_t radius) | |
point3 | closestPoint (const point3 &p) const override |
normal3 | closestNormal (const point3 &p) const override |
bbox3 | boundingBox () const override |
void | closestIntersection (const Ray3 &r, SurfaceRayIntersection *i) const override |
Public Member Functions inherited from hermes::SurfaceInterface | |
virtual bool | intersects (const Ray3 &r) const |
virtual double | closestDistance (const point3 &p) const |
Public Attributes | |
point3 | c |
real_t | r |