summaryrefslogtreecommitdiff
path: root/doc/classes/RandomNumberGenerator.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/RandomNumberGenerator.xml')
-rw-r--r--doc/classes/RandomNumberGenerator.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml
index 28151e858e..726f9e91d8 100644
--- a/doc/classes/RandomNumberGenerator.xml
+++ b/doc/classes/RandomNumberGenerator.xml
@@ -27,16 +27,16 @@
</method>
<method name="randf_range">
<return type="float" />
- <argument index="0" name="from" type="float" />
- <argument index="1" name="to" type="float" />
+ <param index="0" name="from" type="float" />
+ <param index="1" name="to" type="float" />
<description>
Returns a pseudo-random float between [code]from[/code] and [code]to[/code] (inclusive).
</description>
</method>
<method name="randfn">
<return type="float" />
- <argument index="0" name="mean" type="float" default="0.0" />
- <argument index="1" name="deviation" type="float" default="1.0" />
+ <param index="0" name="mean" type="float" default="0.0" />
+ <param index="1" name="deviation" type="float" default="1.0" />
<description>
Returns a [url=https://en.wikipedia.org/wiki/Normal_distribution]normally-distributed[/url] pseudo-random number, using Box-Muller transform with the specified [code]mean[/code] and a standard [code]deviation[/code]. This is also called Gaussian distribution.
</description>
@@ -49,8 +49,8 @@
</method>
<method name="randi_range">
<return type="int" />
- <argument index="0" name="from" type="int" />
- <argument index="1" name="to" type="int" />
+ <param index="0" name="from" type="int" />
+ <param index="1" name="to" type="int" />
<description>
Returns a pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code] (inclusive).
</description>