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