Class sphere, with one center point and a radius, together with a rgb color value.
More...
|
| Sphere () |
| Construct a new Sphere object with no inputs.
|
|
| Sphere (double x, double y, double z, double r, RGB rgb) |
| Construct a new Sphere object, with color inputs.
|
|
| Sphere (double x, double y, double z, double r, std::string text) |
| Construct a new Sphere object, with texture inputs.
|
|
ObjectInfo | checkObject (Ray &ray) override |
|
AABB | getBox () override |
| Get the Axis-aligned bounding box. More...
|
|
std::tuple< double, double > | sphereUV (const point3 &point) const |
|
RGB | getColor (const point3 &point) |
|
void | setProperties (RGB shine, RGB tran, double ior, double roughness) override |
| Set the Material properties. More...
|
|
virtual ObjectInfo | checkObject (Ray &ray)=0 |
|
virtual void | setProperties (RGB, RGB, double, double) |
|
virtual AABB | getBox ()=0 |
|
Class sphere, with one center point and a radius, together with a rgb color value.