6 class SpotLight : public Light
9 SpotLight(Scene* scene, const Vec3f& pos, const Vec3f& dir, const Vec3f& intensity, float alpha_min, float alpha_max);
12 virtual bool Illuminate(Ray& ray, Vec3f& intensity);
14 const Vec3f& position() const;
15 const Vec3f& direction() const;
20 // position and direction
22 // emission (red, green, blue)
25 float m_alpha_min, m_alpha_max;