pub type Translation = Translation<f32, 3>;
Expand description
A 3-dimensional translation.
Aliased Type§
#[repr(C)]pub struct Translation {
pub vector: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>,
}
Fields§
§vector: Matrix<f32, Const<3>, Const<1>, ArrayStorage<f32, 3, 1>>
The translation coordinates, i.e., how much is added to a point’s coordinates when it is translated.