glam
0.25.0
In glam::
f32
Function
glam
::
f32
::
vec2
Copy item path
source
ยท
[
−
]
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
Creates a 2-dimensional vector.