mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Couple of minor mouse-pointer fixes.
This commit is contained in:
parent
574694f458
commit
81b2e7818d
15 changed files with 239 additions and 221 deletions
|
|
@ -86,12 +86,12 @@ bool Random::nextBool() throw()
|
|||
|
||||
float Random::nextFloat() throw()
|
||||
{
|
||||
return ((uint32) nextInt()) / (float) 0xffffffff;
|
||||
return static_cast <uint32> (nextInt()) / (float) 0xffffffff;
|
||||
}
|
||||
|
||||
double Random::nextDouble() throw()
|
||||
{
|
||||
return ((uint32) nextInt()) / (double) 0xffffffff;
|
||||
return static_cast <uint32> (nextInt()) / (double) 0xffffffff;
|
||||
}
|
||||
|
||||
const BitArray Random::nextLargeNumber (const BitArray& maximumValue) throw()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue