package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module BodySource

Sourcetype t = {
  1. pos : Vec2.t;
  2. vel : Vec2.t;
  3. mass : float;
  4. spin : float;
  5. inertia : float;
}
Sourceval make : ?vel:Vec2.t -> ?mass:float -> ?spin:float -> ?inertia:float -> Vec2.t -> t
Sourceval point_velocity : t -> Vec2.t -> Vec2.t