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