nalgebra/src/geometry/rotation_alias.rs

10 lines
214 B
Rust
Raw Normal View History

use base::dimension::{U2, U3};
use geometry::Rotation;
/// A 2-dimensional rotation matrix.
pub type Rotation2<N> = Rotation<N, U2>;
/// A 3-dimensional rotation matrix.
pub type Rotation3<N> = Rotation<N, U3>;