package tiny_libs

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

Module Force3dSource

Sourcetype t = Vec3.t -> Vec3.t -> Vec3.t
Sourceval none : t
Sourceval uniform : Vec3.t -> t
Sourceval gravitation : gm:float -> center:Vec3.t -> t
Sourceval spring : k_over_m:float -> anchor:Vec3.t -> t
Sourceval drag : c:float -> t
Sourceval buoyancy : ?damping:float -> g:float -> water:float -> half_height:float -> density:float -> unit -> t
Sourceval submerged : water:float -> half_height:float -> float -> float
Sourceval sum : t list -> t