summaryrefslogtreecommitdiffhomepage
path: root/filter-accela
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:09 +0100
commitff0d3aefe8d14796f636b890595f12b5b08d6d2f (patch)
treef9b2483b5926c6e7627f49aaf4121463b20a31b1 /filter-accela
parentcb5873922f4528b80d40e13b05bd7590421d79ee (diff)
spline-widget: remove camel case
My eyes bleed a bit less
Diffstat (limited to 'filter-accela')
-rw-r--r--filter-accela/ftnoir_filter_accela.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp
index 955e6dd6..9a3dbcff 100644
--- a/filter-accela/ftnoir_filter_accela.cpp
+++ b/filter-accela/ftnoir_filter_accela.cpp
@@ -90,7 +90,7 @@ void accela::filter(const double* input, double *output)
else
return out_;
);
- const double val = double(m.getValue(out));
+ const double val = double(m.get_value(out));
last_output[i] = output[i] = last_output[i] + signum(vec_) * dt * val;
}
}
@@ -100,16 +100,16 @@ void settings_accela::make_splines(spline& rot, spline& trans)
rot = spline();
trans = spline();
- rot.setMaxInput(rot_gains[0][0]);
- trans.setMaxInput(trans_gains[0][0]);
- rot.setMaxOutput(rot_gains[0][1]);
- trans.setMaxOutput(trans_gains[0][1]);
+ rot.set_max_input(rot_gains[0][0]);
+ trans.set_max_input(trans_gains[0][0]);
+ rot.set_max_output(rot_gains[0][1]);
+ trans.set_max_output(trans_gains[0][1]);
for (int i = 0; rot_gains[i][0] >= 0; i++)
- rot.addPoint(QPointF(rot_gains[i][0], rot_gains[i][1]));
+ rot.add_point(QPointF(rot_gains[i][0], rot_gains[i][1]));
for (int i = 0; trans_gains[i][0] >= 0; i++)
- trans.addPoint(QPointF(trans_gains[i][0], trans_gains[i][1]));
+ trans.add_point(QPointF(trans_gains[i][0], trans_gains[i][1]));
}
OPENTRACK_DECLARE_FILTER(accela, dialog_accela, accelaDll)