]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Frustum.hh
port to NetBSD
[chaz/yoink] / src / Moof / Frustum.hh
index 4154f1492cc98316ea72cd82b0c894359dac0010..c708c065bd79209cfcf0a17fa51e533cceb43de8 100644 (file)
@@ -41,7 +41,7 @@ class Sphere;
 
 class Frustum
 {
-       Plane   planes_[6]; // left, right, bottom, top, near, far
+       Plane   mPlanes[6]; // left, right, bottom, top, near, far
 
 public:
        typedef enum
@@ -52,11 +52,11 @@ public:
        } Collision;
 
        Frustum() {}
-       inline Frustum(const Matrix4& modelview, const Matrix4& projection)
+       Frustum(const Matrix4& modelview, const Matrix4& projection)
        {
                init(modelview, projection);
        }
-       inline Frustum(const Matrix4& modelview, Scalar fovy, Scalar aspect,
+       Frustum(const Matrix4& modelview, Scalar fovy, Scalar aspect,
                        Scalar abutting, Scalar distant)
        {
                init(modelview, fovy, aspect, abutting, distant);
@@ -66,8 +66,8 @@ public:
        void init(const Matrix4& modelview, Scalar fovy, Scalar aspect,
                        Scalar abutting, Scalar distant);
 
-       Collision containsAabb(const Aabb& aabb) const;
-       Collision containsSphere(const Sphere& sphere) const;
+       Collision contains(const Aabb& aabb) const;
+       Collision contains(const Sphere& sphere) const;
 };
 
 
This page took 0.018044 seconds and 4 git commands to generate.