pub fn pack_coordinates(coords: &[f64], output: &mut [i64; 8])
Pack coordinates into fixed-point array.