MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Random_Seed

Function Random_Seed

src/ExtMath.c:128–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void Random_Seed(RNGState* seed, int seedInit) {
129 *seed = (seedInit ^ RND_VALUE) & RND_MASK;
130}
131
132int Random_Next(RNGState* seed, int n) {
133 cc_int64 raw;

Callers 4

Builder_DrawSpriteFunction · 0.85
NotchyGen_PrepareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected