Type Alias parry3d::math::Translation

source ·
pub type Translation<N> = Translation3<N>;
Expand description

The translation type.

Aliased Type§

struct Translation<N> {
    pub vector: Matrix<N, Const<3>, Const<1>, ArrayStorage<N, 3, 1>>,
}

Fields§

§vector: Matrix<N, Const<3>, Const<1>, ArrayStorage<N, 3, 1>>

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