Skip to main content

box3d_rust/joint/
mod.rs

1//! Joints (constraints) between bodies.
2//!
3//! Create typed joints with the `create_*_joint` helpers (distance, motor,
4//! parallel, prismatic, revolute, spherical, weld, wheel, filter), each taking
5//! the matching def from [`crate::types`] (`default_revolute_joint_def`, etc.).
6//!
7//! Port of `joint.h` / `joint.c` (lifecycle, plumbing, and per-type solve).
8//!
9//! SPDX-FileCopyrightText: 2025 Erin Catto
10//! SPDX-License-Identifier: MIT
11
12mod api;
13mod distance;
14mod draw;
15mod lifecycle;
16mod motor;
17mod parallel;
18mod plumbing;
19mod prismatic;
20mod revolute;
21mod solve;
22mod spherical;
23mod types;
24mod weld;
25mod wheel;
26mod wheel_api;
27
28pub use api::*;
29pub use distance::*;
30pub use draw::*;
31pub use lifecycle::*;
32pub use motor::*;
33pub use parallel::*;
34pub use plumbing::*;
35pub use prismatic::*;
36pub use revolute::*;
37pub use solve::*;
38pub use spherical::*;
39pub use types::*;
40pub use weld::*;
41pub use wheel::*;
42pub use wheel_api::*;