00001
00002
00004
00005
00006
00007
00009
00010
00012
00013 #ifndef glm_gtx_spline
00014 #define glm_gtx_spline
00015
00016
00017 #include "../glm.hpp"
00018 #include "../gtx/optimum_pow.hpp"
00019
00020 namespace glm
00021 {
00022 namespace gtx{
00024 namespace spline
00025 {
00026 using namespace gtx::optimum_pow;
00027
00030 template <typename genType>
00031 genType catmullRom(
00032 const genType& v1,
00033 const genType& v2,
00034 const genType& v3,
00035 const genType& v4,
00036 const GLMvalType& s);
00037
00040 template <typename genType>
00041 genType hermite(
00042 const genType& v1,
00043 const genType& t1,
00044 const genType& v2,
00045 const genType& t2,
00046 const GLMvalType& s);
00047
00050 template <typename genType>
00051 genType cubic(
00052 const genType& v1,
00053 const genType& v2,
00054 const genType& v3,
00055 const genType& v4,
00056 const GLMvalType& s);
00057
00058 }
00059 }
00060 }
00061
00062 #include "spline.inl"
00063
00064 namespace glm{using namespace gtx::spline;}
00065
00066 #endif//glm_gtx_spline
00067