3 #ifndef SPHERE_H_INCLUDED
4 #define SPHERE_H_INCLUDED
65 std::vector<RayIntersection>
intersect(
const Ray& ray)
const;
Object class header file.
Abstract base class for Objects.
Definition: Object.h:35
Rays as a starting Point and Direction.
Definition: Ray.h:20
Class for Sphere objects.
Definition: Sphere.h:23
std::vector< RayIntersection > intersect(const Ray &ray) const
Sphere-Ray intersection computation.
Definition: Sphere.cpp:24
~Sphere()
Sphere destructor.
Definition: Sphere.cpp:13
Sphere & operator=(const Sphere &sphere)
Sphere assignment operator.
Definition: Sphere.cpp:17
Sphere()
Sphere default constructor.
Definition: Sphere.cpp:5