MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetSeed

Function SetSeed

TombEngine/Math/Random.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 void SetSeed(unsigned int seed)
18 {
19 Seed = (seed == 0) ? DEFAULT_SEED : seed;
20 }
21
22 static inline unsigned int Xorshift32()
23 {

Callers 1

ParseLuaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected