#ifndef UTIL_RANDOM_UTILS_H
#define UTIL_RANDOM_UTILS_H
#include <random>
#include <vector>
#include "common/vector_utils.h"
#include "util/util_export.h"
namespace angle
{
class ANGLE_UTIL_EXPORT RNG
{ … };
inline void FillVectorWithRandomUBytes(RNG *rng, std::vector<uint8_t> *data)
{ … }
inline void FillVectorWithRandomUBytes(std::vector<uint8_t> *data)
{ … }
inline Vector3 RandomVec3(int seed, float minValue, float maxValue)
{ … }
inline Vector4 RandomVec4(int seed, float minValue, float maxValue)
{ … }
}
#endif