summaryrefslogtreecommitdiff
path: root/src/random.hpp
blob: 18beef4d38c201dbdf5f2029476f94bdd826dc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef UR_RANDOM_H
#define UR_RANDOM_H

#include <random>

namespace ur {
class Random
{
public:
  Random(int min, int max);

  int next();

private:
  std::default_random_engine engine;
  std::normal_distribution<float> distribution;
};
}
#endif