forked from skylines-project/skylines
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
public.js.flight: replace getNearestNumber by getNextSmallerIndex
getNextSmallerIndex returns the next smaller index of a number found in a monotonic array next to a given number. This will simplify some parts of the code later.
- Loading branch information
1 parent
0bcd99a
commit 8de7be9
Showing
1 changed file
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters