21 #ifndef LIB_LIGHTMETRICA_RANDOM_SAMPLER_H
22 #define LIB_LIGHTMETRICA_RANDOM_SAMPLER_H
24 #include "component.h"
25 #include "math.types.h"
46 LM_DISABLE_COPY_AND_MOVE(
Sampler);
61 virtual void SetSeed(
unsigned int seed) = 0;
67 virtual Math::Float
Next() = 0;
99 #endif // LIB_LIGHTMETRICA_RANDOM_SAMPLER_H
Definition: component.h:45
virtual Math::Vec2 NextVec2()=0
virtual Sampler * Clone() const =0
virtual void SetSeed(unsigned int seed)=0
virtual Math::Float Next()=0
LM_PUBLIC_API void SetSeedWithCurrentTime()
Definition: sampler.cpp:25
virtual unsigned int NextUInt()=0
Definition: confignode.h:37