X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FEntity.hh;h=dc600103e54e890bcc2e0e5713f69619d3286a25;hb=64bd443538f57ad1bdff6c6b35953e72141129b2;hp=310e0a128cbb52c0371ec742390d3d46144fcaeb;hpb=25aefe01ef7dbdb603c51411e04b0d6a6107684f;p=chaz%2Fyoink diff --git a/src/Moof/Entity.hh b/src/Moof/Entity.hh index 310e0a1..dc60010 100644 --- a/src/Moof/Entity.hh +++ b/src/Moof/Entity.hh @@ -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_; };