浏览代码

Added prng() method

WestLangley 5 年之前
父节点
当前提交
d4c4255fa7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      docs/api/zh/math/MathUtils.html

+ 3 - 0
docs/api/zh/math/MathUtils.html

@@ -80,6 +80,9 @@
 		<h3>[method:Integer randInt]( [param:Integer low], [param:Integer high] )</h3>
 		<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>
 		<p>
 		[page:Float x] - 根据其在最小值和最大值之间的位置来计算的值。 <br />