You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.physics_3d
Hitbox3d
type t =
| Sphere of float
| Box of Vec3.t
| Capsule of float * float
| Plane of Vec3.t * float
type placed = {
shape : t;
pos : Vec3.t;
orientation : Quat.t;
}
val place : ?orientation:Quat.t -> Vec3.t -> t -> placed
val bounds : placed -> Vec3.t * Vec3.t
val volume : t -> float
val inertia : mass:float -> t -> Mat3.t
val corners : placed -> Vec3.t list
val face_axes : placed -> Vec3.t list
val segment : placed -> Vec3.t * Vec3.t
val support : placed -> Vec3.t -> Vec3.t
val extent : placed -> Vec3.t -> float * float