mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -04:00
--User changes
-Add 4 new possible arguments to EmberGenome: --allvars: Print the names of all supported variations. --regvars: Print the names of all supported regular variations. --prevars: Print the names of all supported pre variations. --postvars: Print the names of all supported post variations.
This commit is contained in:
@ -40,7 +40,7 @@ static void sincos(float x, float* s, float* c)
|
||||
|
||||
namespace EmberNs
|
||||
{
|
||||
#define EMBER_VERSION "0.9.9.3"
|
||||
#define EMBER_VERSION "0.9.9.4"
|
||||
#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
|
||||
|
@ -541,6 +541,11 @@ public:
|
||||
size_t PostSize() const { return m_PostVariations.size(); }
|
||||
size_t ParametricSize() const { return m_ParametricVariations.size(); }
|
||||
|
||||
const vector<Variation<T>*>& AllVars() const { return m_Variations; }
|
||||
const vector<Variation<T>*>& RegVars() const { return m_RegVariations; }
|
||||
const vector<Variation<T>*>& PreVars() const { return m_PreVariations; }
|
||||
const vector<Variation<T>*>& PostVars() const { return m_PostVariations; }
|
||||
|
||||
private:
|
||||
/// <summary>
|
||||
/// Make a dyncamically allocated copy of a variation and assign it a specified weight.
|
||||
|
Reference in New Issue
Block a user