mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 05:05:09 -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:
@ -37,7 +37,7 @@ static void sincos(float x, float* s, float* c)
|
||||
|
||||
namespace EmberNs
|
||||
{
|
||||
#define EMBER_VERSION "1.0.0.16"
|
||||
#define EMBER_VERSION "1.0.0.17"
|
||||
#define EPS6 T(1e-6)
|
||||
#define EPS std::numeric_limits<T>::epsilon()//Apoplugin.h uses -20, but it's more mathematically correct to do it this way.
|
||||
#define ISAAC_SIZE 4
|
||||
@ -52,10 +52,10 @@ namespace EmberNs
|
||||
#define M_3PI (T(M_PI * 3))
|
||||
#define M_PI2 (T(M_PI_2))
|
||||
#define M_PI4 (T(M_PI_4))
|
||||
#define SQRT3 T(1.7320508075688772935274463415059)
|
||||
#define SQRT3_2 T(0.86602540378443864676372317075294)
|
||||
#define SQRT3_3 T(0.57735026918962576450914878050196)
|
||||
#define SQRT5 T(2.2360679774997896964091736687313)
|
||||
#define M_SQRT3 T(1.7320508075688772935274463415059)
|
||||
#define M_SQRT3_2 T(0.86602540378443864676372317075294)
|
||||
#define M_SQRT3_3 T(0.57735026918962576450914878050196)
|
||||
#define M_SQRT5 T(2.2360679774997896964091736687313)
|
||||
#define M_PHI T(1.61803398874989484820458683436563)
|
||||
#define M_1_2PI T(0.15915494309189533576888376337251)
|
||||
#define M_PI3 T(1.0471975511965977461542144610932)
|
||||
|
Reference in New Issue
Block a user