Struct BoxShape¶
Defines the Box (OBB) Collider Type.
-
struct BoxShape¶
Defines the Box (OBB) Collider Type.
Public Functions
-
inline fm_vec3_t support(const fm_vec3_t &dir) const¶
-
AABB boundingBox(const Matrix3x3 &rotation) const¶
Same box as the quaternion overload, for callers that already hold the rotation matrix.
-
fm_vec3_t inertiaTensor(float mass) const¶
Public Members
-
fm_vec3_t halfSize¶
-
inline fm_vec3_t support(const fm_vec3_t &dir) const¶