|
@@ -80,6 +80,9 @@
|
|
<h3>[method:Integer randInt]( [param:Integer low], [param:Integer high] )</h3>
|
|
<h3>[method:Integer randInt]( [param:Integer low], [param:Integer high] )</h3>
|
|
<p>在区间[page:Float low] 到 [page:Float high]随机一个整数。</p>
|
|
<p>在区间[page:Float low] 到 [page:Float high]随机一个整数。</p>
|
|
|
|
|
|
|
|
+ <h3>[method:Float prng]( [param:Integer seed] )</h3>
|
|
|
|
+ <p>Deterministic pseudo-random float in the interval [ 0, 1 ]. The integer [page:Integer seed] is optional.</p>
|
|
|
|
+
|
|
<h3>[method:Float smoothstep]( [param:Float x], [param:Float min], [param:Float max] )</h3>
|
|
<h3>[method:Float smoothstep]( [param:Float x], [param:Float min], [param:Float max] )</h3>
|
|
<p>
|
|
<p>
|
|
[page:Float x] - 根据其在最小值和最大值之间的位置来计算的值。 <br />
|
|
[page:Float x] - 根据其在最小值和最大值之间的位置来计算的值。 <br />
|