Flow Visualisation
spline.hpp
Go to the documentation of this file.
1 
38 #ifndef GLM_GTX_spline
39 #define GLM_GTX_spline GLM_VERSION
40 
41 // Dependency:
42 #include "../glm.hpp"
43 #include "../gtx/optimum_pow.hpp"
44 
45 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
46 # pragma message("GLM: GLM_GTX_spline extension included")
47 #endif
48 
49 namespace glm
50 {
53 
56  template <typename genType>
57  genType catmullRom(
58  genType const & v1,
59  genType const & v2,
60  genType const & v3,
61  genType const & v4,
62  typename genType::value_type const & s);
63 
66  template <typename genType>
67  genType hermite(
68  genType const & v1,
69  genType const & t1,
70  genType const & v2,
71  genType const & t2,
72  typename genType::value_type const & s);
73 
76  template <typename genType>
77  genType cubic(
78  genType const & v1,
79  genType const & v2,
80  genType const & v3,
81  genType const & v4,
82  typename genType::value_type const & s);
83 
85 }//namespace glm
86 
87 #include "spline.inl"
88 
89 #endif//GLM_GTX_spline
90 
genType catmullRom(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Definition: spline.inl:14
genType cubic(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Definition: spline.inl:59
Definition: _detail.hpp:38
genType hermite(genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
Definition: spline.inl:37