code for assignment 2
[MicroTrace.git] / EyeLightShader.hxx
1 #ifndef EYELIGHTSHADER_HXX
2 #define EYELIGHTSHADER_HXX
3
4 #include "Shader.hxx"
5
6 class EyeLightShader : public Shader
7 {
8 public:
9 EyeLightShader(Scene* scene, const Vec3f& color = Vec3f(0.5,0.5,0.5));
10 virtual ~EyeLightShader();
11
12 virtual Vec3f Shade(Ray& ray);
13
14 protected:
15 Vec3f m_color;
16
17 private:
18 EyeLightShader();
19 };
20 #endif
This page took 0.048289 seconds and 5 git commands to generate.