package tiny_libs

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

Module Solver3dSource

Sourcetype options = {
  1. iterations : int;
  2. warm_starting : bool;
  3. baumgarte : float;
  4. slop : float;
  5. bounce_threshold : float;
  6. matching : float;
}
Sourceval default : options
Sourcetype pair = {
  1. a : int;
  2. b : int;
  3. contacts : Contact3d.t list;
  4. restitution : float;
  5. friction : float;
}
Sourcetype memory
Sourceval nothing : memory
Sourceval solve : options -> dt:float -> ?joints:Joint3d.t list -> Body3d.t array -> pair list -> memory -> Body3d.t array * memory
Sourceval impulses : memory -> (int * int) -> float list