X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEntity.hh;h=dc600103e54e890bcc2e0e5713f69619d3286a25;hp=310e0a128cbb52c0371ec742390d3d46144fcaeb;hb=a4debfe4a5f5d339410788971b698ba00cb7f09c;hpb=892da43bf5796e7c5f593a6d0f53bd797a36bd3e 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_; };