diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-12 23:42:43 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 18:46:12 +0200 |
commit | 3e36ce6985399c74676d46beef73a282eacf4109 (patch) | |
tree | f3604bb22670bd0496bf756f9aaa66449e6888d5 /tracker-easy/tracker-easy-api.h | |
parent | 7e357fcb6c143a61c4f87ffda502f8be021674f0 (diff) |
Easy Tracker: Renaming coordinates utility class.
Diffstat (limited to 'tracker-easy/tracker-easy-api.h')
-rw-r--r-- | tracker-easy/tracker-easy-api.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tracker-easy/tracker-easy-api.h b/tracker-easy/tracker-easy-api.h index b42e4c73..40e472d4 100644 --- a/tracker-easy/tracker-easy-api.h +++ b/tracker-easy/tracker-easy-api.h @@ -22,8 +22,10 @@ const int KPointCount = 3; - -struct pt_pixel_pos_mixin +/// +/// Utility class providing coordinates conversion functionalities +/// +struct Coordinates final { using f = numeric_types::f; @@ -32,8 +34,7 @@ struct pt_pixel_pos_mixin }; - -struct pt_point_extractor : pt_pixel_pos_mixin +struct pt_point_extractor { using vec2 = numeric_types::vec2; using f = numeric_types::f; |