MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / seed

Method seed

extern/Catch2/catch.hpp:12237–12242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12235 }
12236
12237 void SimplePcg32::seed(result_type seed_) {
12238 m_state = 0;
12239 (*this)();
12240 m_state += seed_;
12241 (*this)();
12242 }
12243
12244 void SimplePcg32::discard(uint64_t skip) {
12245 // We could implement this to run in O(log n) steps, but this

Callers 1

seedRngFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected