kick
/Users/morten/Programmering/cpp/kick/src/kick/math/random.h
00001 //
00002 // Created by morten on 06/12/14.
00003 //
00004 
00005 
00006 #pragma once
00007 #include <random>
00008 
00009 namespace kick{
00010 class Random {
00011     std::random_device rd;
00012     std::default_random_engine e1;
00013 public:
00014     Random();
00015 
00016     float nextFloat(float min, float maxExcluding);
00017 
00018     int nextInt(int min, int max);
00019 
00020     float next();
00021 
00022     void seed(unsigned int s);
00023 };
00024 }
 All Classes Functions Variables