mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -04:00
--User changes
-Fix xform selection logic to prevent selecting hidden pre and post xforms. -Add hex_modulus. --Bug fixes -starblur was wrong. --Code changes -Optimize Truchet_hex_crop, Truchet_hex_fill. -Cleanup Truchet_inv. -Add new file Variations08.h, and move Gnarly and inkdrop there.
This commit is contained in:
@ -81,12 +81,12 @@ static string ConstantDefinesString(bool doublePrecision)
|
||||
"#define M2PI ((real_t)M_2_PI)\n"
|
||||
"#define M_2PI (MPI * 2)\n"
|
||||
"#define M_3PI (MPI * 3)\n"
|
||||
"#define SQRT3 ((real_t)(1.7320508075688772935274463415059))\n"
|
||||
"#define SQRT3_2 ((real_t)(0.86602540378443864676372317075294))\n"
|
||||
"#define SQRT3_3 ((real_t)(0.57735026918962576450914878050196))\n"
|
||||
"#define SQRT5 2.2360679774997896964091736687313\n"
|
||||
"#define M_PHI 1.61803398874989484820458683436563\n"
|
||||
"#define M_1_2PI 0.15915494309189533576888376337251\n"
|
||||
"#define M_SQRT3 ((real_t)(1.7320508075688772935274463415059))\n"
|
||||
"#define M_SQRT3_2 ((real_t)(0.86602540378443864676372317075294))\n"
|
||||
"#define M_SQRT3_3 ((real_t)(0.57735026918962576450914878050196))\n"
|
||||
"#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"
|
||||
|
Reference in New Issue
Block a user