Go to the documentation of this file.
30 #ifndef _RL_MATH_CUBIC_H_
31 #define _RL_MATH_CUBIC_H_
39 template<
typename T >
44 te(::std::numeric_limits<
Real>::max()),
62 return 2 *
c2 + 6 *
c3 * t;
75 return c1 + 2 *
c2 * t + 3 *
c3 * ::std::pow(t, 2);
80 return c0 +
c1 * t +
c2 * ::std::pow(t, 2) +
c3 * ::std::pow(t, 3);
107 #endif // _RL_MATH_CUBIC_H_