not finished yet, but better than before
[MicroTrace.git] / FlatShader.cxx
1 #include "FlatShader.hxx"
2
3 FlatShader::FlatShader(Scene* scene,
4 const Vec3f& color)
5 : Shader(scene),
6 m_color(color)
7 {
8 }
9
10 FlatShader::~FlatShader()
11 {
12 }
13
14 FlatShader::FlatShader()
15 : Shader(0),
16 m_color(Vec3f())
17 {
18 }
19
20 Vec3f
21 FlatShader::Shade(Ray& ray)
22 {
23 return m_color;
24 }
This page took 0.080948 seconds and 5 git commands to generate.