Re-armed scale_simba

This commit is contained in:
Yuri Edward 2021-10-19 16:20:25 +02:00
parent 94ef916f49
commit 865ac001d3
2 changed files with 4 additions and 3 deletions

View File

@ -54,6 +54,7 @@ mod scale_construction;
mod scale_conversion;
mod scale_coordinates;
mod scale_ops;
mod scale_simba;
mod isometry;
mod isometry_alias;

View File

@ -3,13 +3,13 @@ use simba::simd::SimdValue;
use crate::base::OVector;
use crate::Scalar;
use crate::geometry::Translation;
use crate::geometry::Scale;
impl<T: Scalar + SimdValue, const D: usize> SimdValue for Translation<T, D>
impl<T: Scalar + SimdValue, const D: usize> SimdValue for Scale<T, D>
where
T::Element: Scalar,
{
type Element = Translation<T::Element, D>;
type Element = Scale<T::Element, D>;
type SimdBool = T::SimdBool;
#[inline]