Split rigid-bodies and colliders into multiple components
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
pub use self::ccd::CCDSolver;
|
||||
pub use self::coefficient_combine_rule::CoefficientCombineRule;
|
||||
pub use self::integration_parameters::IntegrationParameters;
|
||||
pub use self::island_manager::IslandManager;
|
||||
pub(crate) use self::joint::JointGraphEdge;
|
||||
pub(crate) use self::joint::JointIndex;
|
||||
#[cfg(feature = "dim3")]
|
||||
@@ -17,19 +18,27 @@ pub use self::joint::{
|
||||
PrismaticJoint,
|
||||
SpringModel, // GenericJoint
|
||||
};
|
||||
pub(crate) use self::rigid_body::RigidBodyChanges;
|
||||
pub use self::rigid_body::{ActivationStatus, BodyStatus, RigidBody, RigidBodyBuilder};
|
||||
pub use self::rigid_body_set::{BodyPair, RigidBodyHandle, RigidBodySet};
|
||||
pub use self::rigid_body_components::*;
|
||||
#[cfg(not(feature = "parallel"))]
|
||||
pub(crate) use self::solver::IslandSolver;
|
||||
#[cfg(feature = "parallel")]
|
||||
pub(crate) use self::solver::ParallelIslandSolver;
|
||||
pub use parry::mass_properties::MassProperties;
|
||||
|
||||
#[cfg(feature = "default-sets")]
|
||||
pub use self::rigid_body::{RigidBody, RigidBodyBuilder};
|
||||
#[cfg(feature = "default-sets")]
|
||||
pub use self::rigid_body_set::{BodyPair, RigidBodySet};
|
||||
|
||||
mod ccd;
|
||||
mod coefficient_combine_rule;
|
||||
mod integration_parameters;
|
||||
mod island_manager;
|
||||
mod joint;
|
||||
mod rigid_body;
|
||||
mod rigid_body_set;
|
||||
mod rigid_body_components;
|
||||
mod solver;
|
||||
|
||||
#[cfg(feature = "default-sets")]
|
||||
mod rigid_body;
|
||||
#[cfg(feature = "default-sets")]
|
||||
mod rigid_body_set;
|
||||
|
||||
Reference in New Issue
Block a user