@@ -310,7 +310,7 @@ functions:
310310 type : number
311311 default :
312312 summary : |
313- The interpolation factor, typically between 0 and 1 .
313+ The interpolation factor, typically between `0` and `1` .
314314 returns :
315315 - type : number
316316 summary : |
@@ -461,7 +461,7 @@ functions:
461461 Returns a Perlin noise value.
462462 description : |
463463 Returns a Perlin noise value. The returned value is most often between the
464- range of -1 to 1 (inclusive) but sometimes may be outside that range; if
464+ range of `-1` to `1` (inclusive) but sometimes may be outside that range; if
465465 the interval is critical to you, use `Library.math.clamp(noise, -1, 1)` on
466466 the output.
467467
@@ -475,9 +475,9 @@ functions:
475475 will always return `0.48397532105446` and `Library.math.noise(1.158, 6)`
476476 will always return `0.15315161645412`.
477477
478- If `x`, `y`, and `z` are all integers, the return value will be 0 . For
478+ If `x`, `y`, and `z` are all integers, the return value will be `0` . For
479479 fractional values of `x`, `y`, and `z`, the return value will gradually
480- fluctuate between -0.5 and 0.5. For coordinates that are close to each
480+ fluctuate between ` -0.5` and ` 0.5` . For coordinates that are close to each
481481 other, the return values will also be close to each other.
482482 parameters :
483483 - name : x
@@ -537,10 +537,10 @@ functions:
537537 Returns a random number within the range provided.
538538 description : |
539539 When called without arguments, returns a uniform pseudo-random real number
540- in the range of 0 to 1 (inclusive of 0 but exclusive of 1 ).
540+ in the range of `0` to `1` (inclusive of `0` but exclusive of `1` ).
541541
542542 When called with an integer number `m`, returns a uniform pseudo-random
543- integer in the range of 1 to `m`, inclusive.
543+ integer in the range of `1` to `m`, inclusive.
544544
545545 When called with two integer numbers `m` and `n`, returns a uniform
546546 pseudo-random integer in the range of `m` to `n`, inclusive.
@@ -584,12 +584,12 @@ functions:
584584 number.
585585 description : |
586586 Returns the integer with the smallest difference between it and the given
587- number. For example, the value 5.8 returns 6 .
587+ number. For example, the value ` 5.8` returns `6` .
588588
589- For values like 0.5 that are equidistant to two integers, the value with
589+ For values like ` 0.5` that are equidistant to two integers, the value with
590590 the greater difference between it and zero is chosen. In other words, the
591- function "rounds away from zero" such that 0.5 rounds to 1 and -0.5 rounds
592- to -1 .
591+ function "rounds away from zero" such that ` 0.5` rounds to `1` and ` -0.5`
592+ rounds to `-1` .
593593 parameters :
594594 - name : x
595595 type : number
@@ -603,11 +603,11 @@ functions:
603603 code_samples :
604604 - name : math.sign
605605 summary : |
606- Returns -1 if `x` is less than 0, 0 if `x` equals 0 , or 1 if `x` is
607- greater than 0 .
606+ Returns `-1` if `x` is less than `0`, `0` if `x` equals `0` , or `1` if `x` is
607+ greater than `0` .
608608 description : |
609- Returns -1 if `x` is less than 0, 0 if `x` equals 0 , or 1 if `x` is
610- greater than 0 .
609+ Returns `-1` if `x` is less than `0`, `0` if `x` equals `0` , or `1` if `x` is
610+ greater than `0` .
611611 parameters :
612612 - name : x
613613 type : number
0 commit comments