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-12 23:42:43 +0200 |
commit | 9c40d1724bb2d564a734f6be7d6d91e7c5be64f7 (patch) | |
tree | 3aec914008aae3a880aa451af87e5d92e53e2b98 /tracker-easy/tracker-easy-api.h | |
parent | 47fcfa087fa7244c2f12af67dee83d16a6d44775 (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; |