#include "Ray.hxx"
#include "Camera.hxx"
+#include "Light.hxx"
#include "Primitive.hxx"
class Scene
// add another primitive to the scene
void Add(Primitive* p);
-
+ // add another light source to the scene
+ void Add(Light* l);
+
// intersect the ray with all objects in the scene
virtual bool Intersect(Ray& ray);
// find occluder
// primitives
std::vector<Primitive*> m_primitives;
+ // lights
+ std::vector<Light*> m_lights;
};
#endif