You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.physics_2d
Joint2d
type kind =
| Pin of {
motor : (float * float) option;
}
| Rod of {
length : float;
| Rope of {
| Pulley of {
ground_a : Vec2.t;
ground_b : Vec2.t;
type t = {
a : int;
b : int;
anchor_a : Vec2.t;
anchor_b : Vec2.t;
kind : kind;
val pin : Body.t array -> float array -> int -> int -> at:Vec2.t -> ?motor:(float * float) -> unit -> t
val rod : Body.t array -> float array -> int -> int -> at_a:Vec2.t -> at_b:Vec2.t -> unit -> t
val rope : Body.t array -> float array -> int -> int -> at_a:Vec2.t -> at_b:Vec2.t -> ?length:float -> unit -> t
val pulley : Body.t array -> float array -> int -> int -> at_a:Vec2.t -> at_b:Vec2.t -> ground_a:Vec2.t -> ground_b:Vec2.t -> unit -> t
type row
val rows : beta:float -> dt:float -> Body.t array -> float array -> t -> row list
val solve_row : Body.t array -> row -> unit
val anchors : Body.t array -> float array -> t -> Vec2.t * Vec2.t
val length_now : Body.t array -> float array -> t -> float