Where are the Source Codes of All Those rng.xxx Functions?
Moderator: Moderator
-
- Wyrmic
- Posts: 212
- Joined: Sat Sep 29, 2018 3:43 am
Where are the Source Codes of All Those rng.xxx Functions?
I want to know how exact some of these functions, i.e. rng.normalFloat work, but I can't find their source codes. Where are they?
-
- Wyrmic
- Posts: 212
- Joined: Sat Sep 29, 2018 3:43 am
Re: Where are the Source Codes of All Those rng.xxx Function
ok, I found them myself.
The usage of some basic ones can be found in /src/core_rng.luadoc . More advanced ones based on these basic ones can be found in /game/loader/pre-init.lua .
The usage of some basic ones can be found in /src/core_rng.luadoc . More advanced ones based on these basic ones can be found in /game/loader/pre-init.lua .