glm::vec3 evalCatmullRom(glm::vec3 const &p0, glm::vec3 const &p1, glm::vec3 const &p2, glm::vec3 const &p3, float const t, float const x)
Compute a new position using a Catmull-Rom spline interpolation.
Definition: interpolation.cpp:11
glm::vec3 evalLERP(glm::vec3 const &p0, glm::vec3 const &p1, float const x)
Linearly interpolate a position between two points.
Definition: interpolation.cpp:4