nalgebra::geometry

Type Alias Translation1

Source
pub type Translation1<T> = Translation<T, 1>;
Expand description

A 1-dimensional translation.

Aliased Type§

struct Translation1<T> {
    pub vector: Matrix<T, Const<1>, Const<1>, ArrayStorage<T, 1, 1>>,
}

Fields§

§vector: Matrix<T, Const<1>, Const<1>, ArrayStorage<T, 1, 1>>

The translation coordinates, i.e., how much is added to a point’s coordinates when it is translated.