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