diff options
Diffstat (limited to 'linden/indra/llcommon/llrand.h')
-rw-r--r-- | linden/indra/llcommon/llrand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llrand.h b/linden/indra/llcommon/llrand.h index 73ea179..0b68a17 100644 --- a/linden/indra/llcommon/llrand.h +++ b/linden/indra/llcommon/llrand.h | |||
@@ -83,6 +83,11 @@ LL_COMMON_API F32 ll_frand(); | |||
83 | LL_COMMON_API F32 ll_frand(F32 val); | 83 | LL_COMMON_API F32 ll_frand(F32 val); |
84 | 84 | ||
85 | /** | 85 | /** |
86 | *@brief Generate a float from [min, max]. | ||
87 | */ | ||
88 | LL_COMMON_API F32 ll_frand(F32 min, F32 max); | ||
89 | |||
90 | /** | ||
86 | *@brief Generate a double from [0, 1.0). | 91 | *@brief Generate a double from [0, 1.0). |
87 | */ | 92 | */ |
88 | LL_COMMON_API F64 ll_drand(); | 93 | LL_COMMON_API F64 ll_drand(); |