logo

Function lyon::math::vector

[]
pub fn vector(x: f32, y: f32) -> Vector2D<f32, UnknownUnit>
Expand description

Shorthand for Vector::new(x, y).