Definition at line 147 of file wavefx.cpp.
147 {
148
149 float perc = .15f;
150
151
152 uint8_t min_x = perc *
WIDTH;
153 uint8_t max_x = (1 - perc) *
WIDTH;
154 uint8_t min_y = perc *
HEIGHT;
155 uint8_t max_y = (1 - perc) *
HEIGHT;
156
157
158 int x = random(min_x, max_x);
159 int y = random(min_y, max_y);
160
161
162
165}
WaveFx waveFxLower(xyRect, CreateArgsLower())
WaveFx waveFxUpper(xyRect, CreateArgsUpper())
References HEIGHT, waveFxLower, waveFxUpper, WIDTH, x, and y.
Referenced by loop(), processAutoTrigger(), and wavefx_loop().