FastLED 3.9.15
Loading...
Searching...
No Matches

◆ make_map()

void make_map ( int stepx,
int stepy,
int num,
std::vector< pair_xy_float > * _map )

Definition at line 33 of file WasmScreenCoords.ino.

33 {
34 float x = 0;
35 float y = 0;
36 std::vector<pair_xy_float>& map = *_map;
37 for (int16_t i = 0; i < num; i++) {
38 map.push_back(pair_xy_float{x, y});
39 x += stepx;
40 y += stepy;
41 }
42}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:81
long map(long x, long in_min, long in_max, long out_min, long out_max)

References x, and y.

Referenced by setup().

+ Here is the caller graph for this function: