mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Build type information on first use (load-time), instead of using a hardcoded list
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -62,6 +62,8 @@ RandomGenerator::RandomGenerator()
|
||||
setSeed(newseed);
|
||||
}
|
||||
|
||||
love::Type RandomGenerator::type(&Object::type);
|
||||
|
||||
uint64 RandomGenerator::rand()
|
||||
{
|
||||
rng_state.b64 ^= (rng_state.b64 >> 12);
|
||||
|
||||
Reference in New Issue
Block a user