pub type IntVector = Vector2D<IntCoord>;
Expand description
A type alias for an integer 2D vector.
Aliased Type§
struct IntVector {
pub x: i32,
pub y: i32,
}
Fields§
§x: i32
The x
(traditionally, horizontal) coordinate.
y: i32
The y
(traditionally, vertical) coordinate.