Function bevy_rapier_collider_gen::translate_vec
source · pub fn translate_vec(v: Vec<Vec2>, rows: usize, cols: usize) -> Vec<Vec2>
Expand description
Translate vector of points in positive x,y to either side of (0,0)
pub fn translate_vec(v: Vec<Vec2>, rows: usize, cols: usize) -> Vec<Vec2>
Translate vector of points in positive x,y to either side of (0,0)