You can search for identifiers within the package.
in-package search v0.2.0
tiny_libs.physics_2d
Shape
type t =
| Point
| Circle of float
| Box of float * float
| Polygon of Vec2.t list
type placed =
| Point_at of Vec2.t
| Circle_at of Vec2.t * float
| Polygon_at of Vec2.t list
val place : ?angle:float -> ?scale:float -> Vec2.t -> t -> placed
val box_corners : float -> float -> Vec2.t list
val edges : Vec2.t list -> (Vec2.t * Vec2.t) list
val area : t -> float
val moments : placed -> float * float
val bounds : placed -> Vec2.t * Vec2.t
val convex : Vec2.t list -> bool