|
FastLED 3.9.15
|
| void fl::third_party::hexwave::hexwave_create | ( | HexWave * | hex, |
| HexWaveEngine * | engine, | ||
| int32_t | reflect, | ||
| float | peak_time, | ||
| float | half_height, | ||
| float | zero_wait ) |
Create a new oscillator with the given waveform parameters.
| hex | Pointer to HexWave structure to initialize |
| engine | Pointer to initialized HexWaveEngine (required) |
| reflect | Is tested as 0 or non-zero |
| peak_time | Is clamped to 0..1 |
| half_height | Is not clamped |
| zero_wait | Is clamped to 0..1 |
Classic waveforms: peak half zero reflect time height wait Sawtooth 1 0 0 0 Square 1 0 1 0 Triangle 1 0.5 0 0
Definition at line 69 of file stb_hexwave.cpp.hpp.
References FL_NOEXCEPT, fl::hex, hexwave_change(), and memset().
Referenced by hexwave_create_legacy().
Here is the call graph for this function:
Here is the caller graph for this function: