pub type Vector2D = Vector2D<f64>;Expand description
A two-dimensional vector with f64 components and unknown units.
§Examples
assert_eq!(cel_euclid::Vector2D::default(), cel_euclid::Vector2D::zero());Aliased Type§
pub struct Vector2D {
pub x: f64,
pub y: f64,
/* private fields */
}Fields§
§x: f64The x (traditionally, horizontal) coordinate.
y: f64The y (traditionally, vertical) coordinate.