You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.physics_3d
Joint3d
type kind =
| Ball of {
cone : (Vec3.t * Vec3.t * float) option;
}
| Hinge of {
axis_a : Vec3.t;
axis_b : Vec3.t;
ref_a : Vec3.t;
ref_b : Vec3.t;
limits : (float * float) option;
motor : (float * float) option;
| Distance of {
length : float;
type t = {
a : int;
b : int;
anchor_a : Vec3.t;
anchor_b : Vec3.t;
kind : kind;
val ball : Body3d.t array -> int -> int -> at:Vec3.t -> ?cone:(Vec3.t * float) -> unit -> t
val hinge : Body3d.t array -> int -> int -> at:Vec3.t -> axis:Vec3.t -> ?limits:(float * float) -> ?motor:(float * float) -> unit -> t
val distance : Body3d.t array -> int -> int -> at_a:Vec3.t -> at_b:Vec3.t -> unit -> t
type row
val rows : beta:float -> dt:float -> Body3d.t array -> t -> row list
val solve_row : Body3d.t array -> row -> unit
val anchors : Body3d.t array -> t -> Vec3.t * Vec3.t
val angle : Body3d.t array -> t -> float