projects
/
MicroTrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
InVoxel() for all Primitives, including fix for Triangle::CalcBounds()
[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.04274 seconds
and
5
git commands to generate.