| 0.9.6

- Main Page
- Modules
- Files

- File List

wrap.hpp
Go to the documentation of this file.
1
42 #pragma once
43
44 // Dependency:
45 #include "../glm.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_wrap extension included")
49 #endif
50
51 namespace glm
52 {
55
58 template <typename genType>
59 GLM_FUNC_DECL genType clamp(genType const & Texcoord);
60
63 template <typename genType>
64 GLM_FUNC_DECL genType repeat(genType const & Texcoord);
65
68 template <typename genType>
69 GLM_FUNC_DECL genType mirrorRepeat(genType const & Texcoord);
70
72 }// namespace glm
73
74 #include "wrap.inl"
glm::clamp
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
glm::repeat
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
glm::mirrorRepeat
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.
glm
Definition: _noise.hpp:39