Do not implement Transform<Vec*> for Vec*
.
This is error prone as this is a no-op for vectors and a translation for points.
This commit is contained in:
parent
70de340498
commit
de2479b70f
@ -668,16 +668,6 @@ macro_rules! transform_impl(
|
||||
self.inv_translate(other)
|
||||
}
|
||||
}
|
||||
|
||||
impl<N: Clone> Transform<$tv<N>> for $tv<N> {
|
||||
fn transform(&self, other: &$tv<N>) -> $tv<N> {
|
||||
other.clone()
|
||||
}
|
||||
|
||||
fn inv_transform(&self, other: &$tv<N>) -> $tv<N> {
|
||||
other.clone()
|
||||
}
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user