+ void getOctant(Aabb& octant, int num) const;
+
+ Plane getPlaneXY() const
+ {
+ Plane plane;
+ plane.normal = Vector3(0.0, 0.0, 1.0);
+ plane.d = cml::dot(-plane.normal, getCenter());
+ return plane;
+ }
+
+ Plane getPlaneXZ() const
+ {
+ Plane plane;
+ plane.normal = Vector3(0.0, 1.0, 0.0);
+ plane.d = cml::dot(-plane.normal, getCenter());
+ return plane;
+ }
+
+ Plane getPlaneYZ() const
+ {
+ Plane plane;
+ plane.normal = Vector3(1.0, 0.0, 0.0);
+ plane.d = cml::dot(-plane.normal, getCenter());
+ return plane;
+ }
+
+ void getCorners(Vector3 corners[8]) const;
+
+ void encloseVertices(const Vector3 vertices[], unsigned count);
+