box3d_rust/types/mod.rs
1//! Public definition types and C-compatible defaults.
2//!
3//! Every create API expects a def built from the matching `default_*_def`
4//! helper — for example [`default_world_def`], [`default_body_def`],
5//! [`default_shape_def`], and the joint defaults. These mirror
6//! `b3Default*Def` in the C API (including the internal cookie).
7//!
8//! Port of `include/box3d/types.h` and `src/types.c`. Split by domain with flat
9//! re-exports for callers.
10//!
11//! SPDX-FileCopyrightText: 2025 Erin Catto
12//! SPDX-License-Identifier: MIT
13
14mod body;
15mod joint;
16mod shape;
17mod world;
18
19pub use body::*;
20pub use joint::*;
21pub use shape::*;
22pub use world::*;