mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-04 22:33:51 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
254ba545f5
commit
6a31dc3ea4
19 changed files with 988 additions and 774 deletions
20
tempest/random/CRndSeed.hpp
Normal file
20
tempest/random/CRndSeed.hpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef TEMPEST_RANDOM_C_RND_SEED_HPP
|
||||
#define TEMPEST_RANDOM_C_RND_SEED_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class CRndSeed {
|
||||
friend class CRandom;
|
||||
|
||||
public:
|
||||
// Public member functions
|
||||
CRndSeed(uint32_t seed);
|
||||
void SetSeed(uint32_t seed);
|
||||
|
||||
protected:
|
||||
// Protected member variables
|
||||
uint32_t rndacc;
|
||||
uint32_t rndvls;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue