7 typedef std::complex<float> complex;
15 std::tr1::mt19937 engine;
16 std::tr1::normal_distribution<float> dist;
21 const unsigned long seed;
35 complex* h_tildes_out;
52 Ambient(
float width,
float length,
int widthSegs,
int lengthSegs,
unsigned long rngSeed,
float phaseDuration,
float accelerationGravity);
66 void Simulate(
float time,
float speed,
float direction,
float scale,
float waveSizeLimit,
float desiredMaxHeight);
73 float omega(Point3 k);
85 complex h_tilde_0(Point3 k);
91 complex h_tilde(Point3 k);
106 void heights(
float heightScale,
float time);
void Simulate(float time, float speed, float direction, float scale, float waveSizeLimit, float desiredMaxHeight)
Definition: Ambient.cpp:135
static const float GRAVITY_METRIC
Definition: Ambient.h:38
static const float GRAVITY_US
Definition: Ambient.h:39
Ambient(float width, float length, int widthSegs, int lengthSegs, unsigned long rngSeed, float phaseDuration, float accelerationGravity)
Definition: Ambient.cpp:9