add randomizer seed get and set methods
This commit is contained in:
parent
9f8b1cbd0e
commit
279ff64b9c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue