nphysics3d/volumetric/
mod.rs1#[doc(inline)]
4pub use self::volumetric::{InertiaTensor, Volumetric};
5
6pub use self::volumetric_ball::{
7    ball_area, ball_center_of_mass, ball_unit_angular_inertia, ball_volume,
8};
9pub use self::volumetric_cone::{
10    cone_area, cone_center_of_mass, cone_unit_angular_inertia, cone_volume,
11};
12pub use self::volumetric_cuboid::{
13    cuboid_area, cuboid_center_of_mass, cuboid_unit_angular_inertia, cuboid_volume,
14};
15pub use self::volumetric_cylinder::{
16    cylinder_area, cylinder_center_of_mass, cylinder_unit_angular_inertia, cylinder_volume,
17};
18
19#[cfg(feature = "dim2")]
20pub use self::volumetric_convex2::{
21    convex_hull_area, convex_hull_center_of_mass, convex_hull_unit_angular_inertia,
22    convex_hull_volume, convex_polyline_area_and_center_of_mass_unchecked,
23    convex_polyline_area_unchecked, convex_polyline_mass_properties_unchecked,
24};
25#[cfg(feature = "dim3")]
26pub use self::volumetric_convex3::{
27    convex_hull_area, convex_hull_center_of_mass, convex_hull_unit_angular_inertia,
28    convex_hull_volume, convex_mesh_area_unchecked, convex_mesh_mass_properties_unchecked,
29    convex_mesh_volume_and_center_of_mass_unchecked,
30};
31
32#[doc(hidden)]
33pub mod volumetric;
34
35mod volumetric_ball;
36mod volumetric_capsule;
37mod volumetric_compound;
38mod volumetric_cone;
39#[cfg(feature = "dim2")]
40mod volumetric_convex2;
41#[cfg(feature = "dim3")]
42mod volumetric_convex3;
43mod volumetric_cuboid;
44mod volumetric_cylinder;
45mod volumetric_shape;