added morphing to the cow
[demo] / src / renderer.h
index efbab80..a14d69c 100644 (file)
@@ -5,6 +5,7 @@ class OrbitCamera;
 class Object;
 class Scene;
 class ShaderProgram;
+class Texture;
 
 class Renderer {
 protected:
@@ -14,9 +15,15 @@ protected:
        int mmviewproj_loc;
        int mview_loc;
 
-       Texture *skytex, *dskytex;
        ShaderProgram *sprog;
+
+       /* debug shader to draw normals */
+       ShaderProgram *nprog;
+
+       Texture *skytex, *dskytex;
+
        virtual void draw_object(Object *object) const;
+       virtual void draw_skybox() const;
 
 public:
        Scene *scene;