3 #ifndef CUBE_H_INCLUDED
4 #define CUBE_H_INCLUDED
66 std::vector<RayIntersection>
intersect(
const Ray& ray)
const;
Object class header file.
Class for Cube objects.
Definition: Cube.h:28
Cube()
Cube default constructor.
Definition: Cube.cpp:6
Cube & operator=(const Cube &cube)
Cube assignment operator.
Definition: Cube.cpp:18
std::vector< RayIntersection > intersect(const Ray &ray) const
Cube-Ray intersection computation.
Definition: Cube.cpp:25
~Cube()
Cube destructor.
Definition: Cube.cpp:14
Abstract base class for Objects.
Definition: Object.h:35
Rays as a starting Point and Direction.
Definition: Ray.h:20