Type Alias salva2d::math::Translation

source ·
pub type Translation<Real> = Translation2<Real>;
Expand description

The translation type.

Aliased Type§

struct Translation<Real> {
    pub vector: Matrix<Real, Const<2>, Const<1>, ArrayStorage<Real, 2, 1>>,
}

Fields§

§vector: Matrix<Real, Const<2>, Const<1>, ArrayStorage<Real, 2, 1>>

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