| 0.9.8

- Main Page
- Modules
- Files

- File List

wrap.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/vec1.hpp"
18
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTX_wrap extension included")
21 #endif
22
23 namespace glm
24 {
27
30 template <typename genType>
31 GLM_FUNC_DECL genType clamp(genType const& Texcoord);
32
35 template <typename genType>
36 GLM_FUNC_DECL genType repeat(genType const& Texcoord);
37
40 template <typename genType>
41 GLM_FUNC_DECL genType mirrorClamp(genType const& Texcoord);
42
45 template <typename genType>
46 GLM_FUNC_DECL genType mirrorRepeat(genType const& Texcoord);
47
49 }// namespace glm
50
51 #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::mirrorClamp
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.
glm
Definition: _noise.hpp:11