Skip to main content

vec2

Function vec2 

Source
pub const fn vec2(x: f32, y: f32) -> Vec2
Available on crate feature egui only.
Expand description

vec2(x, y) == Vec2::new(x, y)