summaryrefslogtreecommitdiff
path: root/doc/classes/RandomNumberGenerator.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-12-13 15:12:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-12-13 15:12:25 +0100
commitd030c17d5ea1c6e40d8c45a7cffd072242dcb735 (patch)
tree17ba3b4f3d9084e8368bb55223044951005bc00b /doc/classes/RandomNumberGenerator.xml
parent17c3c64a80b8701886d238d30e70962a8e13b2c6 (diff)
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/RandomNumberGenerator.xml')
-rw-r--r--doc/classes/RandomNumberGenerator.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/classes/RandomNumberGenerator.xml b/doc/classes/RandomNumberGenerator.xml
index 720acc16ba..5badfba923 100644
--- a/doc/classes/RandomNumberGenerator.xml
+++ b/doc/classes/RandomNumberGenerator.xml
@@ -10,6 +10,13 @@
<demos>
</demos>
<methods>
+ <method name="randf">
+ <return type="float">
+ </return>
+ <description>
+ Generates pseudo-random float between '0.0' and '1.0'.
+ </description>
+ </method>
<method name="randf_range">
<return type="float">
</return>
@@ -21,6 +28,13 @@
Generates pseudo-random float between [code]from[/code] and [code]to[/code].
</description>
</method>
+ <method name="randi">
+ <return type="int">
+ </return>
+ <description>
+ Generates pseudo-random 32-bit unsigned integer between '0' and '4294967295'.
+ </description>
+ </method>
<method name="randi_range">
<return type="int">
</return>
@@ -32,20 +46,6 @@
Generates pseudo-random 32-bit signed integer between [code]from[/code] and [code]to[/code](inclusive).
</description>
</method>
- <method name="randf">
- <return type="float">
- </return>
- <description>
- Generates pseudo-random float between '0.0' and '1.0'.
- </description>
- </method>
- <method name="randi">
- <return type="int">
- </return>
- <description>
- Generates pseudo-random 32-bit unsigned integer between '0' and '4294967295'.
- </description>
- </method>
<method name="randomize">
<return type="void">
</return>