Split rigid-bodies and colliders into multiple components

This commit is contained in:
Crozet Sébastien
2021-04-26 17:59:25 +02:00
parent aaf80bfa87
commit c32da78f2a
91 changed files with 5969 additions and 3653 deletions

View File

@@ -8,7 +8,8 @@
//! - The ability to run a perfectly deterministic simulation on different machine, as long as they
//! are compliant with the IEEE 754-2008 floating point standard.
#![warn(missing_docs)]
#![deny(bare_trait_objects)]
// #![warn(missing_docs)] // TODO: re-enable this
#[cfg(all(feature = "dim2", feature = "f32"))]
pub extern crate parry2d as parry;
@@ -49,8 +50,8 @@ macro_rules! enable_flush_to_zero(
);
#[cfg(feature = "simd-is-enabled")]
macro_rules! array(
($callback: expr; SIMD_WIDTH) => {
macro_rules! gather(
($callback: expr) => {
{
#[inline(always)]
#[allow(dead_code)]
@@ -122,7 +123,6 @@ macro_rules! try_ret {
// }
pub(crate) const INVALID_U32: u32 = u32::MAX;
pub(crate) const INVALID_U64: u64 = u64::MAX;
pub(crate) const INVALID_USIZE: usize = INVALID_U32 as usize;
/// The string version of Rapier.