projects
/
MicroTrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
still broken reflective eyelight shader, solution for assignment 2.2b
[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.043789 seconds
and
5
git commands to generate.