nalgebra/src/geometry/translation_alias.rs

20 lines
514 B
Rust
Raw Normal View History

2019-03-23 21:29:07 +08:00
use crate::geometry::Translation;
/// A 1-dimensional translation.
pub type Translation1<N> = Translation<N, 1>;
/// A 2-dimensional translation.
pub type Translation2<N> = Translation<N, 2>;
/// A 3-dimensional translation.
pub type Translation3<N> = Translation<N, 3>;
/// A 4-dimensional translation.
pub type Translation4<N> = Translation<N, 4>;
/// A 5-dimensional translation.
pub type Translation5<N> = Translation<N, 5>;
/// A 6-dimensional translation.
pub type Translation6<N> = Translation<N, 6>;