Phong does not work yet, but saving here
[MicroTrace.git] / PhongShader.hxx
index b83e670..3a18d6c 100644 (file)
@@ -2,6 +2,7 @@
 #define PHONGSHADER_HXX
 
 #include "Shader.hxx"
+#include "Scene.hxx"
 
 class PhongShader : public Shader
 {
@@ -15,11 +16,11 @@ public:
              float ks,
              float ke);
   virtual ~PhongShader();
-  
+
   virtual Vec3f Shade(Ray& ray);
 private:
   PhongShader();
-  
+
   Vec3f m_ambient_color, m_diffuse_color, m_specular_color;
   float m_ka, m_kd, m_ks, m_ke;
 };
This page took 0.022622 seconds and 4 git commands to generate.