add randomizer seed get and set methods

This commit is contained in:
Redmond Urbino 2008-04-12 01:05:40 +00:00
parent 9f8b1cbd0e
commit 279ff64b9c
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ PUBLISHED:
// RAU we can't access OC_infinity as constants are not exposed in python
static dReal get_infinity() {return OC_infinity;};
static int rand_get_seed() {return dRandGetSeed();};
static void rand_set_seed(int s) {dRandSetSeed(s);};
};
#endif