#![warn(missing_docs)]
#[macro_use]
#[cfg(feature = "serde-serialize")]
extern crate serde;
pub extern crate nalgebra as na;
#[cfg(feature = "dim2")]
pub extern crate rapier2d as rapier;
#[cfg(feature = "dim3")]
pub extern crate rapier3d as rapier;
pub use rapier::parry;
#[cfg(feature = "dim2")]
pub mod math {
use bevy::math::Vec2;
pub type Real = rapier::math::Real;
pub type Vect = Vec2;
pub type Rot = Real;
}
#[cfg(feature = "dim3")]
pub mod math {
use bevy::math::{Quat, Vec3};
pub type Real = rapier::math::Real;
pub type Vect = Vec3;
pub type Rot = Quat;
}
pub mod dynamics;
pub mod geometry;
pub mod pipeline;
pub mod plugin;
pub mod control;
#[cfg(any(feature = "debug-render-3d", feature = "debug-render-2d"))]
pub mod render;
pub mod utils;
pub mod prelude {
pub use crate::control::*;
pub use crate::dynamics::*;
pub use crate::geometry::*;
pub use crate::math::*;
pub use crate::pipeline::*;
pub use crate::plugin::*;
#[cfg(any(feature = "debug-render-3d", feature = "debug-render-2d"))]
pub use crate::render::*;
}