Particles when dashing
This commit is contained in:
@ -7,3 +7,8 @@ double rand_Double01() {
|
||||
// Very bad implementation.
|
||||
return ((double)rand()) / (double)RAND_MAX;
|
||||
}
|
||||
|
||||
|
||||
double rand_DoubleRange(double min, double max) {
|
||||
return min + rand_Double01() * (max - min);
|
||||
}
|
||||
|
@ -7,6 +7,8 @@ extern "C" {
|
||||
// returns a double in the [0,1) range.
|
||||
double rand_Double01();
|
||||
|
||||
double rand_DoubleRange(double min, double max);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user