Starshatter_Open
Open source Starshatter engine
|
Go to the source code of this file.
Functions | |
void | RandomInit () |
Point | RandomDirection () |
Point | RandomPoint () |
Vec3 | RandomVector (double radius) |
double | Random (double min, double max) |
int | RandomIndex () |
bool | RandomChance (int wins, int tries) |
int | RandomSequence (int current, int range) |
int | RandomShuffle (int count) |
double Random | ( | double | min, |
double | max | ||
) |
Definition at line 61 of file Random.cpp.
bool RandomChance | ( | int | wins, |
int | tries | ||
) |
Definition at line 84 of file Random.cpp.
Point RandomDirection | ( | ) |
Definition at line 27 of file Random.cpp.
int RandomIndex | ( | ) |
Definition at line 71 of file Random.cpp.
void RandomInit | ( | ) |
Definition at line 20 of file Random.cpp.
Point RandomPoint | ( | ) |
Definition at line 36 of file Random.cpp.
int RandomSequence | ( | int | current, |
int | range | ||
) |
Definition at line 94 of file Random.cpp.
int RandomShuffle | ( | int | count | ) |
Definition at line 106 of file Random.cpp.
Vec3 RandomVector | ( | double | radius | ) |
Definition at line 46 of file Random.cpp.