aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md64
-rw-r--r--Cargo.toml1
-rw-r--r--assets/FiraSans-Bold.ttfbin0 -> 438028 bytes
-rw-r--r--benchmarks2d/Cargo.toml2
-rw-r--r--benchmarks2d/all_benchmarks2.rs4
-rw-r--r--benchmarks2d/balls2.rs19
-rw-r--r--benchmarks2d/boxes2.rs27
-rw-r--r--benchmarks2d/capsules2.rs27
-rw-r--r--benchmarks2d/convex_polygons2.rs29
-rw-r--r--benchmarks2d/heightfield2.rs24
-rw-r--r--benchmarks2d/joint_ball2.rs19
-rw-r--r--benchmarks2d/joint_fixed2.rs23
-rw-r--r--benchmarks2d/joint_prismatic2.rs29
-rw-r--r--benchmarks2d/pyramid2.rs19
-rw-r--r--benchmarks3d/Cargo.toml2
-rw-r--r--benchmarks3d/all_benchmarks3.rs6
-rw-r--r--benchmarks3d/balls3.rs17
-rw-r--r--benchmarks3d/boxes3.rs21
-rw-r--r--benchmarks3d/capsules3.rs21
-rw-r--r--benchmarks3d/ccd3.rs21
-rw-r--r--benchmarks3d/compound3.rs29
-rw-r--r--benchmarks3d/convex_polyhedron3.rs23
-rw-r--r--benchmarks3d/heightfield3.rs24
-rw-r--r--benchmarks3d/joint_ball3.rs22
-rw-r--r--benchmarks3d/joint_fixed3.rs26
-rw-r--r--benchmarks3d/joint_prismatic3.rs36
-rw-r--r--benchmarks3d/joint_revolute3.rs42
-rw-r--r--benchmarks3d/keva3.rs47
-rw-r--r--benchmarks3d/pyramid3.rs29
-rw-r--r--benchmarks3d/stacks3.rs65
-rw-r--r--benchmarks3d/trimesh3.rs24
-rw-r--r--build/rapier2d-f64/Cargo.toml11
-rw-r--r--build/rapier2d/Cargo.toml11
-rw-r--r--build/rapier3d-f64/Cargo.toml11
-rw-r--r--build/rapier3d/Cargo.toml11
-rw-r--r--build/rapier_testbed2d/Cargo.toml20
-rw-r--r--build/rapier_testbed3d/Cargo.toml22
-rw-r--r--examples2d/Cargo.toml2
-rw-r--r--examples2d/add_remove2.rs25
-rw-r--r--examples2d/all_examples2.rs4
-rw-r--r--examples2d/ccd2.rs60
-rw-r--r--examples2d/collision_groups2.rs40
-rw-r--r--examples2d/convex_polygons2.rs29
-rw-r--r--examples2d/damping2.rs14
-rw-r--r--examples2d/debug_box_ball2.rs18
-rw-r--r--examples2d/heightfield2.rs24
-rw-r--r--examples2d/joints2.rs21
-rw-r--r--examples2d/locked_rotations2.rs23
-rw-r--r--examples2d/one_way_platforms2.rs50
-rw-r--r--examples2d/platform2.rs65
-rw-r--r--examples2d/polyline2.rs28
-rw-r--r--examples2d/pyramid2.rs19
-rw-r--r--examples2d/restitution2.rs19
-rw-r--r--examples2d/sensor2.rs48
-rw-r--r--examples2d/trimesh2.rs27
-rw-r--r--examples3d/Cargo.toml10
-rw-r--r--examples3d/all_examples3.rs5
-rw-r--r--examples3d/all_examples3_wasm.rs136
-rw-r--r--examples3d/ccd3.rs72
-rw-r--r--examples3d/collision_groups3.rs40
-rw-r--r--examples3d/compound3.rs37
-rw-r--r--examples3d/convex_decomposition3.rs81
-rw-r--r--examples3d/convex_polyhedron3.rs23
-rw-r--r--examples3d/damping3.rs16
-rw-r--r--examples3d/debug_add_remove_collider3.rs36
-rw-r--r--examples3d/debug_big_colliders3.rs19
-rw-r--r--examples3d/debug_boxes3.rs21
-rw-r--r--examples3d/debug_cylinder3.rs21
-rw-r--r--examples3d/debug_dynamic_collider_add3.rs47
-rw-r--r--examples3d/debug_friction3.rs21
-rw-r--r--examples3d/debug_infinite_fall3.rs23
-rw-r--r--examples3d/debug_prismatic3.rs55
-rw-r--r--examples3d/debug_rollback3.rs29
-rw-r--r--examples3d/debug_shape_modification3.rs35
-rw-r--r--examples3d/debug_triangle3.rs25
-rw-r--r--examples3d/debug_trimesh3.rs48
-rw-r--r--examples3d/domino3.rs27
-rw-r--r--examples3d/fountain3.rs29
-rw-r--r--examples3d/harness_capsules3.rs15
-rw-r--r--examples3d/heightfield3.rs28
-rw-r--r--examples3d/joints3.rs148
-rw-r--r--examples3d/keva3.rs47
-rw-r--r--examples3d/locked_rotations3.rs27
-rw-r--r--examples3d/one_way_platforms3.rs50
-rw-r--r--examples3d/platform3.rs70
-rw-r--r--examples3d/primitives3.rs21
-rw-r--r--examples3d/restitution3.rs19
-rw-r--r--examples3d/sensor3.rs47
-rw-r--r--examples3d/trimesh3.rs28
-rwxr-xr-xpublish.sh35
-rw-r--r--src/data/coarena.rs8
-rw-r--r--src/dynamics/ccd/ccd_solver.rs97
-rw-r--r--src/dynamics/ccd/toi_entry.rs26
-rw-r--r--src/dynamics/integration_parameters.rs13
-rw-r--r--src/dynamics/island_manager.rs22
-rw-r--r--src/dynamics/joint/fixed_joint.rs10
-rw-r--r--src/dynamics/rigid_body.rs204
-rw-r--r--src/dynamics/rigid_body_components.rs64
-rw-r--r--src/dynamics/solver/island_solver.rs4
-rw-r--r--src/dynamics/solver/joint_constraint/ball_position_constraint.rs8
-rw-r--r--src/dynamics/solver/joint_constraint/ball_position_constraint_wide.rs6
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_position_constraint.rs40
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_velocity_constraint.rs12
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_velocity_constraint_wide.rs24
-rw-r--r--src/dynamics/solver/joint_constraint/generic_position_constraint.rs6
-rw-r--r--src/dynamics/solver/joint_constraint/revolute_position_constraint.rs6
-rw-r--r--src/dynamics/solver/parallel_island_solver.rs2
-rw-r--r--src/dynamics/solver/velocity_constraint.rs8
-rw-r--r--src/dynamics/solver/velocity_constraint_element.rs8
-rw-r--r--src/dynamics/solver/velocity_ground_constraint_element.rs7
-rw-r--r--src/geometry/broad_phase_multi_sap/broad_phase.rs4
-rw-r--r--src/geometry/collider.rs271
-rw-r--r--src/geometry/collider_components.rs171
-rw-r--r--src/geometry/collider_set.rs58
-rw-r--r--src/geometry/contact_pair.rs16
-rw-r--r--src/geometry/interaction_groups.rs54
-rw-r--r--src/geometry/narrow_phase.rs328
-rw-r--r--src/lib.rs9
-rw-r--r--