Format the mesh-floor sampler

This commit is contained in:
Sameh Khamis committed 2026-10-16 15:22:39 -07:00
1 parent 1344b5d77e
commit 34dabd1e88
1 file changed
+2 -1
+2 -1
View File
@@ -124,7 +124,8 @@ export function createMeshFloorSampler({
if ( if (
Number.isFinite(viewerLat) && Number.isFinite(viewerLat) &&
Number.isFinite(viewerLon) && Number.isFinite(viewerLon) &&
approxDistanceKm(viewerLat, viewerLon, cell.lat, cell.lon) > MAX_SAMPLE_DIST_KM approxDistanceKm(viewerLat, viewerLon, cell.lat, cell.lon) >
MAX_SAMPLE_DIST_KM
) { ) {
continue; // too far: tiles not streamed there, probe would be a guaranteed miss continue; // too far: tiles not streamed there, probe would be a guaranteed miss
} }