Skip to main content

to_vec2

Function to_vec2 

Source
pub fn to_vec2(p: Pos) -> Vec2
Expand description

Lossy conversion of a world position to a float vector. no-op in single precision.