mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -04:00
Touch: Expose metrics calculation struct/function.
This commit is contained in:
parent
20bcbf511e
commit
d0fd56bc78
2 changed files with 9 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue