init(a, b);
}
- inline void init(const Vector3& a, const Vector3& b)
+ void init(const Vector3& a, const Vector3& b)
{
if (a[0] < b[0])
{
}
}
- inline Vector3 getCenter() const
+ Vector3 getCenter() const
{
return Vector3((min[0] + max[0]) / 2.0,
(min[1] + max[1]) / 2.0,
void getOctant(Aabb& octant, int num) const;
- inline Plane getPlaneXY() const
+ Plane getPlaneXY() const
{
Plane plane;
plane.normal = Vector3(0.0, 0.0, 1.0);
return plane;
}
- inline Plane getPlaneXZ() const
+ Plane getPlaneXZ() const
{
Plane plane;
plane.normal = Vector3(0.0, 1.0, 0.0);
return plane;
}
- inline Plane getPlaneYZ() const
+ Plane getPlaneYZ() const
{
Plane plane;
plane.normal = Vector3(1.0, 0.0, 0.0);
void encloseVertices(const Vector3 vertices[], unsigned count);
void draw(Scalar alpha = 0.0) const;
- bool isVisible(const Camera& cam) const;
+ bool isVisible(const Frustum& frustum) const;
};