setting fixed debug seed for debug mode
This commit is contained in:
parent
6bbdf004bd
commit
5729315c09
@ -58,8 +58,11 @@ public:
|
|||||||
{
|
{
|
||||||
std::list<Point> points;
|
std::list<Point> points;
|
||||||
|
|
||||||
//srand(static_cast <unsigned> (time(0)));
|
#ifdef _DEBUG
|
||||||
srand(static_cast <unsigned> (0)); // fixed seed for testing
|
srand(static_cast <unsigned> (0)); // fixed seed for testing
|
||||||
|
#else
|
||||||
|
srand(static_cast <unsigned> (time(0)));
|
||||||
|
#endif
|
||||||
|
|
||||||
float x = 0;
|
float x = 0;
|
||||||
float y = 0;
|
float y = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user