mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 05:05:09 -04:00
--User changes
-Update various tooltips. -Increase precision of affine and xaos spinners. -Increase precision of fields written in Xml files to 8. --Bug fixes -When rendering on the CPU, if the number of threads didn't divide evenly into the number of rows, it would leave a blank spot on the last few rows. -Fix numerous parsing bugs when reading .chaos files. -Added compatibility fixes and/or optimizations to the following variations: asteria, bcircle, bcollide, bipolar, blob2, btransform, cell, circlecrop, circlecrop2, collideoscope, cpow2, cropn, cross, curl, depth_ngon2, depth_sine2, edisc, eRotate, escher, fan2, hex_rand, hypershift, hypershift2, hypertile1, julia, julian, julian2, juliaq, juliascope, lazyjess, log, loonie2, murl, murl2, npolar, oscilloscope2, perspective, phoenix_julia, sphericaln, squish, starblur, starblur2, truchet, truchet_glyph, waffle, wavesn.
This commit is contained in:
@ -224,7 +224,7 @@ public:
|
||||
#ifdef ISAAC_FLAM3_DEBUG
|
||||
return (Rand() & 0xfffffff) / (floatType)0xfffffff;
|
||||
#else
|
||||
return Frand<floatType>(static_cast<floatType>(0), static_cast<floatType>(1));
|
||||
return static_cast<floatType>(Rand()) / static_cast<floatType>(std::numeric_limits<T>::max());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user