From 3e36ce6985399c74676d46beef73a282eacf4109 Mon Sep 17 00:00:00 2001 From: Stéphane Lenclud Date: Fri, 12 Apr 2019 23:42:43 +0200 Subject: Easy Tracker: Renaming coordinates utility class. --- tracker-easy/tracker-easy-api.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tracker-easy/tracker-easy-api.h') 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; -- cgit v1.2.3