mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -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:
@ -76,7 +76,9 @@ static string ConstantDefinesString(bool doublePrecision)
|
||||
"#define CUBE(x) ((x) * (x) * (x))\n"
|
||||
"#define MPI ((real_t)M_PI)\n"
|
||||
"#define MPI2 ((real_t)M_PI_2)\n"
|
||||
"#define MPI3 ((real_t)(1.0471975511965977461542144610932))\n"
|
||||
"#define MPI4 ((real_t)M_PI_4)\n"
|
||||
"#define MPI6 ((real_t)(0.52359877559829887307710723054658))\n"
|
||||
"#define M1PI ((real_t)M_1_PI)\n"
|
||||
"#define M2PI ((real_t)M_2_PI)\n"
|
||||
"#define M_2PI (MPI * 2)\n"
|
||||
@ -87,8 +89,6 @@ static string ConstantDefinesString(bool doublePrecision)
|
||||
"#define M_SQRT5 ((real_t)(2.2360679774997896964091736687313))\n"
|
||||
"#define M_PHI ((real_t)(1.61803398874989484820458683436563))\n"
|
||||
"#define M_1_2PI ((real_t)(0.15915494309189533576888376337251))\n"
|
||||
"#define M_PI3 ((real_t)(1.0471975511965977461542144610932))\n"
|
||||
"#define M_PI6 ((real_t)(0.52359877559829887307710723054658))\n"
|
||||
"#define DEG_2_RAD (MPI / 180)\n"
|
||||
"#define CURVES_LENGTH_M1 ((real_bucket_t)" << CURVES_LENGTH_M1 << ")\n" <<
|
||||
"#define ONE_OVER_CURVES_LENGTH_M1 ((real_bucket_t)" << ONE_OVER_CURVES_LENGTH_M1 << ")\n" <<
|
||||
|
Reference in New Issue
Block a user