]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Entity.hh
fixed layer bugs; generalized octree
[chaz/yoink] / src / Moof / Entity.hh
index 310e0a128cbb52c0371ec742390d3d46144fcaeb..dc600103e54e890bcc2e0e5713f69619d3286a25 100644 (file)
@@ -56,24 +56,10 @@ class Entity : public Cullable, public Drawable
 public:
        virtual ~Entity() {}
 
-       const Aabb& getAabb() const
-       {
-               return aabb_;
-       }
-
-       const Sphere& getSphere() const
-       {
-               return sphere_;
-       }
-
-       void drawIfVisible(Scalar alpha, const Frustum& frustum) const
+       virtual void drawIfVisible(Scalar alpha, const Frustum& frustum) const
        {
                if (isVisible(frustum)) draw(alpha);
        }
-
-protected:
-       Aabb    aabb_;
-       Sphere  sphere_;
 };
 
 
This page took 0.020905 seconds and 4 git commands to generate.