]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Entity.hh
experimental shapes hierarchy and raycasting
[chaz/yoink] / src / Moof / Entity.hh
index 52cb79d442f2b4c6db1afe0faf7097468beedbef..ee0f8602c6fd8585090251b9d89cab8f753aefd6 100644 (file)
@@ -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;
        }
This page took 0.018532 seconds and 4 git commands to generate.