mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 19:34:01 +00:00
Format the mesh-floor sampler
This commit is contained in:
1 parent
1344b5d77e
commit
34dabd1e88
1 file changed
+2
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user