projects
/
MicroTrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
save commit
[MicroTrace.git]
/
Shader.hxx
1
#ifndef SHADER_HXX
2
#define SHADER_HXX
3
4
#include "Vec3f.hxx"
5
#include "Ray.hxx"
6
7
// forward declaration
8
class Scene;
9
10
#define RecursionDepth 10
11
12
class Shader
13
{
14
public:
15
Shader(Scene* scene);
16
virtual ~Shader();
17
18
virtual Vec3f Shade(Ray& ray) = 0;
19
protected:
20
Scene* m_scene;
21
22
private:
23
Shader();
24
Shader(const Shader& );
25
Shader& operator=(const Shader& );
26
};
27
#endif
This page took
0.042261 seconds
and
5
git commands to generate.