FastLED
3.9.15
Loading...
Searching...
No Matches
line_simplification.cpp
Go to the documentation of this file.
1
2
/*
3
Douglas-Peucker line simplification algorithm.
4
*/
5
6
#include "
fl/line_simplification.h
"
7
8
namespace
fl
{
9
10
namespace
/*compiled_test*/
{
11
12
// // LineSimplifier<float>::LineSimplifier() : epsilon(0.0) {}
13
// using LineSimplifierF = LineSimplifier<float>;
14
// using LineSimplifierD = LineSimplifier<double>;
15
16
// LineSimplifierF s_test;
17
// LineSimplifierD s_testd;
18
19
// void foo() {
20
// fl::vector<vec2<float>> points;
21
// s_test.simplifyInplace(&points);
22
// }
23
24
}
// namespace
25
26
}
// namespace fl
line_simplification.h
fl
Implements a simple red square effect for 2D LED grids.
Definition
crgb.h:16
fl
line_simplification.cpp
Generated on Sat May 24 2025 22:44:23 for FastLED by
1.13.2