diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-12-14 15:51:43 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-12-29 11:31:00 +0100 |
| commit | cc6d1b973002b4d366bc81ec6bf9e8240ad7b404 (patch) | |
| tree | 66827195ef82f22e545fc9ee4e0bade9baa8031b /src/geometry/contact.rs | |
| parent | 9bf1321f8f1d2e116f44c2461a53f302c4ef4171 (diff) | |
| download | rapier-cc6d1b973002b4d366bc81ec6bf9e8240ad7b404.tar.gz rapier-cc6d1b973002b4d366bc81ec6bf9e8240ad7b404.tar.bz2 rapier-cc6d1b973002b4d366bc81ec6bf9e8240ad7b404.zip | |
Outsource the Shape trait, wquadtree, and shape types.
Diffstat (limited to 'src/geometry/contact.rs')
| -rw-r--r-- | src/geometry/contact.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/geometry/contact.rs b/src/geometry/contact.rs index 1f0a902..14646d9 100644 --- a/src/geometry/contact.rs +++ b/src/geometry/contact.rs @@ -6,7 +6,7 @@ use crate::geometry::{Collider, ColliderPair, ColliderSet, Contact, ContactManif use crate::math::{Isometry, Point, Vector}; #[cfg(feature = "simd-is-enabled")] use { - crate::math::{SimdFloat, SIMD_WIDTH}, + crate::math::{SimdReal, SIMD_WIDTH}, simba::simd::SimdValue, }; @@ -22,11 +22,11 @@ bitflags::bitflags! { #[cfg(feature = "simd-is-enabled")] pub(crate) struct WContact { - pub local_p1: Point<SimdFloat>, - pub local_p2: Point<SimdFloat>, - pub local_n1: Vector<SimdFloat>, - pub local_n2: Vector<SimdFloat>, - pub dist: SimdFloat, + pub local_p1: Point<SimdReal>, + pub local_p2: Point<SimdReal>, + pub local_n1: Vector<SimdReal>, + pub local_n2: Vector<SimdReal>, + pub dist: SimdReal, pub fid1: [u8; SIMD_WIDTH], pub fid2: [u8; SIMD_WIDTH], } |
