- Main Page
- Related Pages
- Modules
- Files

- File List

spline.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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