aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/BezierCurve.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/BezierCurve.hpp')
-rw-r--r--src/helpers/BezierCurve.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers/BezierCurve.hpp b/src/helpers/BezierCurve.hpp
index 1b9144a8..e643fb41 100644
--- a/src/helpers/BezierCurve.hpp
+++ b/src/helpers/BezierCurve.hpp
@@ -16,9 +16,9 @@ class CBezierCurve {
// this EXCLUDES the 0,0 and 1,1 points,
void setup(std::vector<Vector2D>* points);
- float getYForT(float const& t);
- float getXForT(float const& t);
- float getYForPoint(float const& x);
+ float getYForT(float const& t) const;
+ float getXForT(float const& t) const;
+ float getYForPoint(float const& x) const;
private:
// this INCLUDES the 0,0 and 1,1 points.