Update rand.reset() example.
This commit is contained in:
1 parent
cc8c2f236b
commit
f627a38b4f
1 file changed
+1
-1
@@ -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