Tweeker Commit (Have Fun Reviewing This)
This commit is contained in:
@@ -30,6 +30,8 @@ namespace J3ML::Geometry
|
||||
|
||||
AABB(const Vector3& min, const Vector3& max);
|
||||
|
||||
Vector3 HalfDiagonal() const { return HalfSize(); }
|
||||
|
||||
static int NumFaces() { return 6; }
|
||||
|
||||
static int NumEdges() { return 12; }
|
||||
@@ -90,6 +92,8 @@ namespace J3ML::Geometry
|
||||
|
||||
Plane FacePlane(int faceIndex) const;
|
||||
|
||||
void ProjectToAxis(const Vector3 &direction, float &outMin, float &outMax) const;
|
||||
|
||||
static AABB MinimalEnclosingAABB(const Vector3 *pointArray, int numPoints);
|
||||
float GetVolume() const;
|
||||
float GetSurfaceArea() const;
|
||||
|
Reference in New Issue
Block a user