From 865ac001d39c26c06d628f902ce9226e4167bf0c Mon Sep 17 00:00:00 2001 From: Yuri Edward Date: Tue, 19 Oct 2021 16:20:25 +0200 Subject: [PATCH] Re-armed scale_simba --- src/geometry/mod.rs | 1 + src/geometry/scale_simba.rs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index f79311e3..e7ff7304 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -54,6 +54,7 @@ mod scale_construction; mod scale_conversion; mod scale_coordinates; mod scale_ops; +mod scale_simba; mod isometry; mod isometry_alias; diff --git a/src/geometry/scale_simba.rs b/src/geometry/scale_simba.rs index 7f7f7ebf..cb42b715 100755 --- a/src/geometry/scale_simba.rs +++ b/src/geometry/scale_simba.rs @@ -3,13 +3,13 @@ use simba::simd::SimdValue; use crate::base::OVector; use crate::Scalar; -use crate::geometry::Translation; +use crate::geometry::Scale; -impl SimdValue for Translation +impl SimdValue for Scale where T::Element: Scalar, { - type Element = Translation; + type Element = Scale; type SimdBool = T::SimdBool; #[inline]