Skip to main content

vect_to_ivect

Function vect_to_ivect 

Source
pub fn vect_to_ivect(p: Vec2) -> IVec2
Expand description

Converts a floating-point vector to an integer vector.