From c32da78f2a6014c491aa3e975fb83ddb7c80610e Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Mon, 26 Apr 2021 17:59:25 +0200 Subject: Split rigid-bodies and colliders into multiple components --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 564a758..46f6c6e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. -- cgit From 2dfbd9ae92c139e306afc87994adac82489f30eb Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Fri, 30 Apr 2021 11:37:58 +0200 Subject: Add comments. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 46f6c6e..79abaa5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ //! are compliant with the IEEE 754-2008 floating point standard. #![deny(bare_trait_objects)] -// #![warn(missing_docs)] // TODO: re-enable this +#![warn(missing_docs)] #[cfg(all(feature = "dim2", feature = "f32"))] pub extern crate parry2d as parry; -- cgit