egui
0.28.1
Function
egui
::
vec2
Copy item path
source
ยท
[
−
]
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
vec2(x, y) == Vec2::new(x, y)