]> Dogcows Code - chaz/yoink/blobdiff - src/moof/line.hh
converted image management to resource handles
[chaz/yoink] / src / moof / line.hh
index 35ebf29199afbfa78ef6329fd611f334428892c0..0ba6bb368c6d56b628ed8ec9a38862fb91e0abac 100644 (file)
 
 #include <moof/contact.hh>
 #include <moof/drawable.hh>
+#include <moof/image.hh>
 #include <moof/log.hh>
 #include <moof/math.hh>
 #include <moof/opengl.hh>
 #include <moof/ray.hh>
 #include <moof/shape.hh>
 #include <moof/sphere.hh>
-#include <moof/texture.hh>
 
 
 namespace moof {
@@ -225,7 +225,7 @@ struct line : public drawable, public shape<D>
 
        void draw(scalar alpha = 0.0) const
        {
-               texture::reset_binding();
+               image::reset_binding();
                glBegin(GL_LINES);
                        glVertex(a);
                        glVertex(b);
@@ -255,7 +255,7 @@ struct polygon : public drawable, public shape<D>
 
        void draw(scalar alpha = 0.0) const
        {
-               texture::reset_binding();
+               image::reset_binding();
                glBegin(GL_POLYGON);
                for (int i = 0; i < D; ++i)
                {
This page took 0.027308 seconds and 4 git commands to generate.