#include <ExCRandomNumber.h>
Membres publics | |
ExCRandomNumber () | |
float | getFloat (float, float) |
uint | getInt (uint, uint) |
Attributs Privés Statiques | |
int | is_init = false |
|
Définition à la ligne 28 du fichier ExCRandomNumber.cpp. Références is_init.
|
|
Définition à la ligne 51 du fichier ExCRandomNumber.cpp. Références getInt(). Référencé par ExCSystemeParticule::Draw().
00051 { 00052 float value; 00053 float v_tmp; 00054 if (max < min) { 00055 v_tmp = min; 00056 min = max; 00057 max = v_tmp; 00058 } 00059 00060 do { 00061 value = min + (float) getInt(0, (unsigned) ((max - min) * 1000)) / 1000; 00062 } while (value < min || value > max); 00063 00064 return value; 00065 } |
|
Définition à la ligne 35 du fichier ExCRandomNumber.cpp. Références uint. Référencé par ExCSystemeParticule::Draw(), et getFloat().
|
|
Définition à la ligne 26 du fichier ExCRandomNumber.cpp. Référencé par ExCRandomNumber(). |