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:
Sébastien Crozet 2014-10-11 00:20:53 +02:00
parent 70de340498
commit de2479b70f
1 changed files with 0 additions and 10 deletions

View File

@ -668,16 +668,6 @@ macro_rules! transform_impl(
self.inv_translate(other) 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()
}
}
) )
) )