initial commit
This commit is contained in:
26
libraries/FastLED/src/fl/line_simplification.cpp
Normal file
26
libraries/FastLED/src/fl/line_simplification.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
/*
|
||||
Douglas-Peucker line simplification algorithm.
|
||||
*/
|
||||
|
||||
#include "fl/line_simplification.h"
|
||||
|
||||
namespace fl {
|
||||
|
||||
namespace /*compiled_test*/ {
|
||||
|
||||
// // LineSimplifier<float>::LineSimplifier() : epsilon(0.0) {}
|
||||
// using LineSimplifierF = LineSimplifier<float>;
|
||||
// using LineSimplifierD = LineSimplifier<double>;
|
||||
|
||||
// LineSimplifierF s_test;
|
||||
// LineSimplifierD s_testd;
|
||||
|
||||
// void foo() {
|
||||
// fl::vector<vec2<float>> points;
|
||||
// s_test.simplifyInplace(&points);
|
||||
// }
|
||||
|
||||
} // namespace
|
||||
|
||||
} // namespace fl
|
||||
Reference in New Issue
Block a user