simple anti-aliasing
[MicroTrace.git] / Primitive.cxx
1 #include "Primitive.hxx"
2
3 Primitive::Primitive(Shader* shader)
4 : m_shader(shader)
5 {
6 }
7
8 Primitive::~Primitive()
9 {
10 }
11
12 bool
13 Primitive::Occluded(Ray& ray)
14 {
15 return Intersect(ray);
16 }
17
18 Shader*
19 Primitive::shader()
20 {
21 return m_shader;
22 }
This page took 0.048196 seconds and 5 git commands to generate.