Function vector
pub fn vector(x: f32, y: f32) -> Vector2D<f32, UnknownUnit>
Available on crate feature
geometry
only.Expand description
Shorthand for Vector::new(x, y)
.
pub fn vector(x: f32, y: f32) -> Vector2D<f32, UnknownUnit>
geometry
only.Shorthand for Vector::new(x, y)
.