pub fn calc_pos_offset_and_scale_inverse(positions: &[f32]) -> ([f32; 3], f32)