pub(crate) use self::island_solver::IslandSolver;
use self::velocity_solver::VelocitySolver;
use contact_constraint::*;
pub(crate) use joint_constraint::MotorParameters;
pub use joint_constraint::*;
use solver_body::SolverVel;
mod categorization;
mod contact_constraint;
mod interaction_groups;
mod island_solver;
mod joint_constraint;
mod solver_body;
mod velocity_solver;
pub unsafe fn reset_buffer<T>(buffer: &mut Vec<T>, len: usize) {
buffer.clear();
buffer.reserve(len);
unsafe {
buffer.as_mut_ptr().write_bytes(0, len);
buffer.set_len(len);
}
}