nalgebra/src/geometry/rotation_alias.rs

12 lines
433 B
Rust
Raw Normal View History

2019-03-23 21:29:07 +08:00
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.**
2021-04-11 17:00:38 +08:00
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.**
2021-04-11 17:00:38 +08:00
pub type Rotation3<T> = Rotation<T, 3>;