summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-api.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-07 11:06:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:46 +0100
commitb6b1f969bcf0fe0b3551f01b90d41fab99372a99 (patch)
treee1aa979215bcdebbf8852da8ffcdd43424b700e5 /tracker-pt/pt-api.hpp
parentb5cdedb08159655819e73bba0754ef36a5565e66 (diff)
cv/numeric: rename namespace
Diffstat (limited to 'tracker-pt/pt-api.hpp')
-rw-r--r--tracker-pt/pt-api.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tracker-pt/pt-api.hpp b/tracker-pt/pt-api.hpp
index 09c09a28..b44cfea2 100644
--- a/tracker-pt/pt-api.hpp
+++ b/tracker-pt/pt-api.hpp
@@ -20,7 +20,7 @@
struct pt_camera_info final
{
- using f = types::f;
+ using f = numeric_types::f;
pt_camera_info();
static f get_focal_length(f fov, int res_x, int res_y);
@@ -35,7 +35,7 @@ struct pt_camera_info final
struct pt_pixel_pos_mixin
{
- using f = types::f;
+ using f = numeric_types::f;
static std::tuple<f, f> to_pixel_pos(f x, f y, int w, int h);
static std::tuple<f, f> to_screen_pos(f px, f py, int w, int h);
@@ -69,7 +69,7 @@ struct pt_preview : pt_frame
struct pt_camera
{
using result = std::tuple<bool, pt_camera_info>;
- using f = types::f;
+ using f = numeric_types::f;
pt_camera();
virtual ~pt_camera();
@@ -90,8 +90,8 @@ struct pt_camera
struct pt_point_extractor : pt_pixel_pos_mixin
{
- using vec2 = types::vec2;
- using f = types::f;
+ using vec2 = numeric_types::vec2;
+ using f = numeric_types::f;
pt_point_extractor();
virtual ~pt_point_extractor();