|
TinyRaytracer 0.1
A simple C++ raytracer
|
The object class, both BVH nodes and objects in the scene. More...
#include <object.hpp>
Public Member Functions | |
| virtual ObjectInfo | checkObject (Ray &ray)=0 |
| virtual void | setProperties (RGB, RGB, double, double) |
| virtual AABB | getBox ()=0 |
Public Attributes | |
| AABB | bbox |
| Axis-aligned bounding box for the Object class. For BVH traversal. | |
The object class, both BVH nodes and objects in the scene.
Reimplemented in Sphere.