0.9.7: wrap.hpp Source File

| 0.9.7

- 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 mirrorClamp(genType const & Texcoord);
70
73 template <typename genType>
74 GLM_FUNC_DECL genType mirrorRepeat(genType const & Texcoord);
75
77 }// namespace glm
78
79 #include "wrap.inl"
glm::repeat
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_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:40
glm::clamp
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
glm::mirrorRepeat
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.