aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/waabb.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/waabb.rs')
-rw-r--r--src/geometry/waabb.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geometry/waabb.rs b/src/geometry/waabb.rs
index 1706370..cc420d9 100644
--- a/src/geometry/waabb.rs
+++ b/src/geometry/waabb.rs
@@ -156,7 +156,7 @@ impl WAABB {
}
#[cfg(feature = "dim2")]
- pub fn contains_lanewise(&self, other: &WAABB) -> SimdBool {
+ pub fn contains(&self, other: &WAABB) -> SimdBool {
self.mins.x.simd_le(other.mins.x)
& self.mins.y.simd_le(other.mins.y)
& self.maxs.x.simd_ge(other.maxs.x)
@@ -164,7 +164,7 @@ impl WAABB {
}
#[cfg(feature = "dim3")]
- pub fn contains_lanewise(&self, other: &WAABB) -> SimdBool {
+ pub fn contains(&self, other: &WAABB) -> SimdBool {
self.mins.x.simd_le(other.mins.x)
& self.mins.y.simd_le(other.mins.y)
& self.mins.z.simd_le(other.mins.z)
@@ -174,7 +174,7 @@ impl WAABB {
}
#[cfg(feature = "dim2")]
- pub fn intersects_lanewise(&self, other: &WAABB) -> SimdBool {
+ pub fn intersects(&self, other: &WAABB) -> SimdBool {
self.mins.x.simd_le(other.maxs.x)
& other.mins.x.simd_le(self.maxs.x)
& self.mins.y.simd_le(other.maxs.y)
@@ -182,7 +182,7 @@ impl WAABB {
}
#[cfg(feature = "dim3")]
- pub fn intersects_lanewise(&self, other: &WAABB) -> SimdBool {
+ pub fn intersects(&self, other: &WAABB) -> SimdBool {
self.mins.x.simd_le(other.maxs.x)
& other.mins.x.simd_le(self.maxs.x)
& self.mins.y.simd_le(other.maxs.y)