diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:09 +0100 |
commit | ff0d3aefe8d14796f636b890595f12b5b08d6d2f (patch) | |
tree | f9b2483b5926c6e7627f49aaf4121463b20a31b1 /logic/tracker.cpp | |
parent | cb5873922f4528b80d40e13b05bd7590421d79ee (diff) |
spline-widget: remove camel case
My eyes bleed a bit less
Diffstat (limited to 'logic/tracker.cpp')
-rw-r--r-- | logic/tracker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp index 95a60221..cf593cdd 100644 --- a/logic/tracker.cpp +++ b/logic/tracker.cpp @@ -62,10 +62,10 @@ Tracker::rmat Tracker::get_camera_offset_matrix(double c) double Tracker::map(double pos, Map& axis) { bool altp = (pos < 0) && axis.opts.altp; - axis.spline_main.setTrackingActive( !altp ); - axis.spline_alt.setTrackingActive( altp ); + axis.spline_main.set_tracking_active( !altp ); + axis.spline_alt.set_tracking_active( altp ); auto& fc = altp ? axis.spline_alt : axis.spline_main; - return double(fc.getValue(pos)); + return double(fc.get_value(pos)); } void Tracker::t_compensate(const rmat& rmat, const euler_t& xyz, euler_t& output, @@ -451,8 +451,8 @@ void Tracker::run() for (int i = 0; i < 6; i++) { - m(i).spline_main.setTrackingActive(false); - m(i).spline_alt.setTrackingActive(false); + m(i).spline_main.set_tracking_active(false); + m(i).spline_alt.set_tracking_active(false); } } |