33 TnlWave(
float flAmplitude,
float flFrequency,
float flPhase);
51 void Sync(
float flTime,
float flPhase);
61 float Sine(
float flTime)
const;
70 mAmplitude = flAmplitude;
75 mFrequency = flFrequency;
Growable text buffer that is also a PrnStream.
Definition string.h:19
void SetAmplitude(float flAmplitude)
Definition tnlwave.h:69
TnlWave(float flAmplitude, float flFrequency, float flPhase)
Construct an unnamed wave.
void SetPhase(float flPhase)
Definition tnlwave.h:79
void SetFrequency(float flFrequency)
Definition tnlwave.h:74
TnlWave(const char *pszName)
Construct a wave with only a name.
void Sync(float flTime, float flPhase)
Choose the phase that gives the wave a phase at a time.
float Sine(float flTime) const
Report the sine of the wave at a time.
~TnlWave()
Release the name.
float GetAmplitude() const
Definition tnlwave.h:64