pub fn compute_distances_batch(
positions: &Vec3Batch,
ref_pos: [f64; 3],
) -> Vec<f64>Expand description
Compute distances from a single reference point to many positions.
Returns the Euclidean distance from ref_pos to each position in the batch.