From 5b80c4efbf93ad1294c9d3d390d8c8f090681b0e Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Wed, 10 Feb 2021 11:56:51 +0100 Subject: Start experimenting with a generic joint implementation for joint drives. --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 564a758..b3ca3d4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -148,4 +148,10 @@ pub mod math { /// single contact constraint. #[cfg(feature = "dim3")] pub const MAX_MANIFOLD_POINTS: usize = 4; + + #[cfg(feature = "dim2")] + pub const SPATIAL_DIM: usize = 3; + + #[cfg(feature = "dim3")] + pub const SPATIAL_DIM: usize = 6; } -- cgit