
To store data for mounten and star with a moon struct. It allows easy storage, loading and mutating
16 lines
195 B
C++
16 lines
195 B
C++
#include "values/Buffer.hpp"
|
|
|
|
class RandBuffer
|
|
{
|
|
public:
|
|
RandBuffer() = default;
|
|
~RandBuffer() = default;
|
|
|
|
void reset();
|
|
float next();
|
|
|
|
private:
|
|
Buffer m_buffer;
|
|
size_t m_pos = 0;
|
|
};
|