mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Update rand.reset() example.
This commit is contained in:
@@ -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())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user