1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # linear_sim <IMG STYLE="vertical-align: middle" SRC="https://gitlab.com/spearman/linear-sim-rs/-/raw/master/doc/iconl.png">
//!
//! A minimal particle simulation.
//!
//! # `debug_dump` feature
//!
//! Set the environment variable `LINEAR_SIM_DEBUG_DUMP=1` and before the step
//! you want to capture, raise the `collision::DEBUG_DUMP` flag to `true`. This
//! will write a binary serialization of the System state to
//! `linear-sim-<step>.dump` in the local directory. In the course of
//! development, some automatic triggers may be added in the collision pipeline
//! to raise the DEBUG_DUMP flag automatically (e.g. when collision max iters
//! has been exceeded).
//!
//! The `debug_dump_tester`
//! binary will load a target dump file and process a simulation step with the
//! deserialized System.
pub use math_utils as math;
pub use geometry as geometry;
pub use Collision;
pub use Constraint;
pub use Force;
pub use Integrator;
pub use Object;
pub use System;