|
Hermes
|
Inheritance diagram for hermes::Sphere: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 |
|
inlineoverridevirtual |
Implements hermes::SurfaceInterface.
|
inlineoverridevirtual |
Implements hermes::SurfaceInterface.
Implements hermes::SurfaceInterface.
Implements hermes::SurfaceInterface.