Add BoundingBox and BoundingSphere matches

This commit is contained in:
jonschz 2025-06-17 20:04:19 +02:00
parent caed5fb15d
commit 6bd81e300f

View File

@ -15,8 +15,12 @@
// SIZE 0x28 // SIZE 0x28
class BoundingBox { class BoundingBox {
public: public:
// The BETA10 matches may reference the wrong version
// FUNCTION: BETA10 0x1004a7a0
const Vector3& Min() const { return min; } const Vector3& Min() const { return min; }
Vector3& Min() { return min; } Vector3& Min() { return min; }
// FUNCTION: BETA10 0x1004a7c0
const Vector3& Max() const { return max; } const Vector3& Max() const { return max; }
Vector3& Max() { return max; } Vector3& Max() { return max; }
@ -31,9 +35,15 @@ class BoundingBox {
// SIZE 0x18 // SIZE 0x18
class BoundingSphere { class BoundingSphere {
public: public:
// The BETA10 matches may reference the wrong version
// FUNCTION: BETA10 0x1001fac0
const Vector3& Center() const { return center; } const Vector3& Center() const { return center; }
// FUNCTION: BETA10 0x100d55a0
Vector3& Center() { return center; } Vector3& Center() { return center; }
// FUNCTION: BETA10 0x1001fd30
const float& Radius() const { return radius; } const float& Radius() const { return radius; }
// FUNCTION: BETA10 0x1001fae0
float& Radius() { return radius; } float& Radius() { return radius; }
// SYNTHETIC: BETA10 0x1001fb90 // SYNTHETIC: BETA10 0x1001fb90