Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
cool_lerp.hpp
Go to the documentation of this file.
1#ifndef FANG_ROBOTICS_MCB_MATH_COOL_LERP_HPP
2#define FANG_ROBOTICS_MCB_MATH_COOL_LERP_HPP
4namespace fang::math
5{
14 {
15 public:
24 CoolLerp(const Vector2D& dataPoint1, const Vector2D& dataPoint2);
25
26 double interpolate(double input) const;
27 private:
28 const Vector2D mk_dataPoint1;
29 const Vector2D mk_dataPoint2;
30 const double mk_input_range;
31 };
32}
33#endif
Definition cool_lerp.hpp:14
double interpolate(double input) const
Definition cool_lerp.cpp:18
Definition range.hpp:4
Definition vector_2d.hpp:8