Struct ConeShape

Defines the Cone Collider Type.

struct ConeShape

Defines the Cone Collider Type.

Public Functions

fm_vec3_t support(const fm_vec3_t &dir) const
AABB boundingBox(const fm_quat_t *q) 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

float radius
float halfHeight