#ifndef SPHERE_H #define SPHERE_H SPHERE_H #include "Shape.h" class Sphere : public Shape { public: Sphere(double radius); IntersectList intersect(const Ray & ray); Vector getNormalAt(const Vector & pt); protected: double m_radius; double m_radius2; }; #endif