4f4d065ac4faa895548c6df8c572287689d34473
[MicroTrace.git] / PhongShader.cxx
1 #include "PhongShader.hxx"
2
3 PhongShader::PhongShader(Scene* scene,
4 const Vec3f& am_c,
5 const Vec3f& di_c,
6 const Vec3f& sp_c,
7 float ka,
8 float kd,
9 float ks,
10 float ke)
11 : Shader(scene),
12 m_ambient_color(am_c),
13 m_diffuse_color(di_c),
14 m_specular_color(sp_c),
15 m_ka(ka),
16 m_kd(kd),
17 m_ks(ks),
18 m_ke(ke)
19 {
20 }
21
22 PhongShader::PhongShader()
23 : Shader(0)
24 {
25 }
26
27 PhongShader::~PhongShader()
28 {
29 }
30
31 Vec3f
32 PhongShader::Shade(Ray& ray)
33 {
34 return Vec3f();
35 }
This page took 0.047916 seconds and 3 git commands to generate.