randomTriangular
Returns a triangularly distributed random number in this range, with the mode centered in this range, giving a symmetric distribution.
This function uses MathUtils.randomTriangular. Note that endInclusive is treated as exclusive as it is not practical to keep it inclusive. Results are undefined for an empty range, and there is no error checking.
Returns a triangularly distributed random number in this range, where values around the mode are more likely. normalizedMode must be a value in the range 0.0..1.0 and represents the fractional position of the mode across the range.
This function uses MathUtils.randomTriangular(min, max, mode)
. Note that endInclusive is treated as exclusive as it is not practical to keep it inclusive. Results are undefined for an empty range, and there is no error checking.