From f627a38b4fb31416516144e7077abf389295d491 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Wed, 31 Jul 2024 20:00:55 +0200 Subject: [PATCH] Update rand.reset() example. --- core/math/rand/rand.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }