fn in_portal_range(player_pos: Vec3<f32>, portal_pos: Vec3<f32>) -> bool