pub type Vector<L> = Vector2D<L, UnknownUnit>;
Expand description
2D Vector.
Aliased Type§
#[repr(C)]pub struct Vector<L> {
pub x: L,
pub y: L,
}
Fields§
§x: L
The x
(traditionally, horizontal) coordinate.
y: L
The y
(traditionally, vertical) coordinate.