21 #ifndef LIB_LIGHTMETRICA_RANDOM_H
22 #define LIB_LIGHTMETRICA_RANDOM_H
24 #include "component.h"
25 #include "math.types.h"
37 LM_COMPONENT_INTERFACE_DEF(
"random");
46 LM_DISABLE_COPY_AND_MOVE(
Random);
60 virtual void SetSeed(
unsigned int seed) = 0;
74 LM_FORCE_INLINE Math::Float
Next();
80 LM_FORCE_INLINE Math::Vec2
NextVec2();
93 #endif // LIB_LIGHTMETRICA_RANDOM_H
Definition: component.h:45
virtual unsigned int NextUInt()=0
virtual Random * Clone() const =0
LM_FORCE_INLINE Math::Float Next()
Definition: random.inl:24
LM_FORCE_INLINE Math::Vec2 NextVec2()
Definition: random.inl:29
virtual void SetSeed(unsigned int seed)=0