Skip to main content
vect_to_ivect
rapier2d
0.33.0-alpha
In rapier2d::
math
rapier2d
::
math
Function
vect_
to_
ivect
Copy item path
Source
pub fn vect_to_ivect(p:
Vec2
) ->
IVec2
Expand description
Converts a floating-point vector to an integer vector.