MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetSeed

Method SetSeed

engine/Random/randomGen.hpp:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 float RandomValue(int x, int z) const { return RandomValue(GetSeed(x, z)); }
39 float RandomValue(int x, int z, int y) const { return RandomValue(GetSeed(x, z, y)); }
40 void SetSeed(int seed) { _seed = seed; }
41 float RandomValue() const;
42 float Gauss(float min, float mid, float max) const;
43 float PlusMinus(float a, float b) const;

Callers 2

WorldMethod · 0.80
test_randomGen.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected