reflection_alias.rs - source
Description: Source of the Rust file `/Users/erlendbasso/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.32.1/src/geometry/reflection_alias.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21

    use crate::base::ArrayStorage;
    use crate::geometry::Reflection;
    use crate::Const;

    /// A 1-dimensional reflection.
    pub type Reflection1<T> = Reflection<T, Const<1>, ArrayStorage<T, 1, 1>>;

    /// A 2-dimensional reflection.
    pub type Reflection2<T> = Reflection<T, Const<2>, ArrayStorage<T, 2, 1>>;

    /// A 3-dimensional reflection.
    pub type Reflection3<T> = Reflection<T, Const<3>, ArrayStorage<T, 3, 1>>;

    /// A 4-dimensional reflection.
    pub type Reflection4<T> = Reflection<T, Const<4>, ArrayStorage<T, 4, 1>>;

    /// A 5-dimensional reflection.
    pub type Reflection5<T> = Reflection<T, Const<5>, ArrayStorage<T, 5, 1>>;

    /// A 6-dimensional reflection.
    pub type Reflection6<T> = Reflection<T, Const<6>, ArrayStorage<T, 6, 1>>;