2018-10-28 14:33:14 +08:00
|
|
|
use base::dimension::{U1, U2, U3, U4, U5, U6};
|
2016-12-05 05:44:42 +08:00
|
|
|
|
2017-08-03 01:37:44 +08:00
|
|
|
use geometry::Translation;
|
2016-12-05 05:44:42 +08:00
|
|
|
|
2018-10-28 14:33:14 +08:00
|
|
|
/// A 1-dimensional translation.
|
|
|
|
pub type Translation1<N> = Translation<N, U1>;
|
|
|
|
|
2016-12-05 05:44:42 +08:00
|
|
|
/// A 2-dimensional translation.
|
|
|
|
pub type Translation2<N> = Translation<N, U2>;
|
|
|
|
|
|
|
|
/// A 3-dimensional translation.
|
|
|
|
pub type Translation3<N> = Translation<N, U3>;
|
2018-10-28 14:33:14 +08:00
|
|
|
|
|
|
|
/// A 4-dimensional translation.
|
|
|
|
pub type Translation4<N> = Translation<N, U4>;
|
|
|
|
|
|
|
|
/// A 5-dimensional translation.
|
|
|
|
pub type Translation5<N> = Translation<N, U5>;
|
|
|
|
|
|
|
|
/// A 6-dimensional translation.
|
|
|
|
pub type Translation6<N> = Translation<N, U6>;
|