nalgebra/src/geometry/rotation_alias.rs
2021-04-11 13:57:54 +02:00

12 lines
433 B
Rust

use crate::geometry::Rotation;
/// A 2-dimensional rotation matrix.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Rotation`](crate::Rotation) type too.**
pub type Rotation2<T> = Rotation<T, 2>;
/// A 3-dimensional rotation matrix.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Rotation`](crate::Rotation) type too.**
pub type Rotation3<T> = Rotation<T, 3>;