Browse Source

Update rand.reset() example.

Jeroen van Rijn 1 year ago
parent
commit
f627a38b4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/math/rand/rand.odin

+ 1 - 1
core/math/rand/rand.odin

@@ -58,7 +58,7 @@ Example:
 	import "core:fmt"
 	import "core:fmt"
 
 
 	set_global_seed_example :: proc() {
 	set_global_seed_example :: proc() {
-		rand.set_global_seed(1)
+		rand.reset(1)
 		fmt.println(rand.uint64())
 		fmt.println(rand.uint64())
 	}
 	}