--Code changes

-Modernize some C++ code.
This commit is contained in:
Person
2021-04-19 21:53:25 -06:00
parent 8086cfa731
commit a726b99dea
7 changed files with 110 additions and 110 deletions

View File

@ -224,7 +224,7 @@ public:
#ifdef ISAAC_FLAM3_DEBUG
return (Rand() & 0xfffffff) / (floatType)0xfffffff;
#else
return Frand<floatType>(floatType(0), floatType(1));
return Frand<floatType>(static_cast<floatType>(0), static_cast<floatType>(1));
#endif
}