pub type V2 = Vector2D<f32, UnknownUnit>;Expand description
A two dimensional vector.
Aliased Type§
pub struct V2 {
pub x: f32,
pub y: f32,
}Fields§
§x: f32The x (traditionally, horizontal) coordinate.
y: f32The y (traditionally, vertical) coordinate.