bevy
0.15.0
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.