bevy
0.15.2
In bevy::
math
bevy
::
math
Function
vec2
Copy item path
Source
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
Creates a 2-dimensional vector.