nalgebra::geometry

Type Alias Scale2

Source
pub type Scale2<T> = Scale<T, 2>;
Expand description

A 2-dimensional scale.

Aliased Type§

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

Fields§

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

The scale coordinates, i.e., how much is multiplied to a point’s coordinates when it is scaled.