X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEntity.hh;h=ee0f8602c6fd8585090251b9d89cab8f753aefd6;hp=52cb79d442f2b4c6db1afe0faf7097468beedbef;hb=2d77fb5fb3480f522658f30af6addd5146530517;hpb=64e3c3202d2c1956759fb4da36ca329816c9369a diff --git a/src/Moof/Entity.hh b/src/Moof/Entity.hh index 52cb79d..ee0f860 100644 --- a/src/Moof/Entity.hh +++ b/src/Moof/Entity.hh @@ -55,8 +55,8 @@ class Entity : public Cullable, public Drawable { protected: - Aabb mAabb; - Sphere mSphere; + Aabb<3> mAabb; + Sphere<3> mSphere; public: @@ -72,12 +72,12 @@ public: return mSphere.isVisible(frustum) && mAabb.isVisible(frustum); } - const Aabb& getAabb() const + const Aabb<3>& getAabb() const { return mAabb; } - const Sphere& getSphere() const + const Sphere<3>& getSphere() const { return mSphere; }