Skip to content

Commit 31d4db1

Browse files
committed
update engine
1 parent 2eeec43 commit 31d4db1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

public/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ <h2><a id="math">Math</a></h2>
550550
randi(min = 0, max = 1): number;
551551

552552
// If a value is passed, initializes the random number generator (RNG)
553-
// with an explicit seed value. Otherwise, returns the current seed state.
553+
// with an explicit seed value (a number >= 0). Otherwise, returns the current seed state.
554554
// By default, the initial seed is the current timestamp (from `Date.now()`).
555555
seed(value: number | null): number;
556556

@@ -578,7 +578,7 @@ <h2><a id="math">Math</a></h2>
578578

579579
// Re-maps a number from one range to another.
580580
// example: map(2, 0, 10, 0, 100) returns 20
581-
map(val, min1, max1, min2, max2, withinBounds = false ): number
581+
map(val, start1, stop1, start2, stop2, withinBounds = false ): number
582582

583583
// Maps a number from one range to a value between 0 and 1.
584584
// example: norm(50, 0, 100) returns 0.5

0 commit comments

Comments
 (0)