aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-07-31 20:00:55 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2024-07-31 20:00:55 +0200
commitf627a38b4fb31416516144e7077abf389295d491 (patch)
tree01d5066676e0338ec9a317c1c40a89fe9bc3792a /core/math
parentcc8c2f236bada907365b4c43c852796d17702cfc (diff)
Update rand.reset() example.
Diffstat (limited to 'core/math')
-rw-r--r--core/math/rand/rand.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/rand/rand.odin b/core/math/rand/rand.odin
index e02f3db80..61301cf8a 100644
--- a/core/math/rand/rand.odin
+++ b/core/math/rand/rand.odin
@@ -58,7 +58,7 @@ Example:
import "core:fmt"
set_global_seed_example :: proc() {
- rand.set_global_seed(1)
+ rand.reset(1)
fmt.println(rand.uint64())
}