Touch: Expose metrics calculation struct/function.

This commit is contained in:
Jared Boone
2016-07-26 15:13:07 -07:00
parent 20bcbf511e
commit d0fd56bc78
2 changed files with 9 additions and 7 deletions

View File

@@ -106,6 +106,14 @@ struct Frame {
bool touch { false };
};
struct Metrics {
const float x;
const float y;
const float r;
};
Metrics calculate_metrics(const Frame& frame);
template<size_t N>
class Filter {
public: