17 #include "../gtc/vec1.hpp"
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTX_wrap extension included")
30 template <
typename genType>
31 GLM_FUNC_DECL genType
clamp(genType
const& Texcoord);
35 template <
typename genType>
36 GLM_FUNC_DECL genType
repeat(genType
const& Texcoord);
40 template <
typename genType>
41 GLM_FUNC_DECL genType
mirrorClamp(genType
const& Texcoord);
45 template <
typename genType>
46 GLM_FUNC_DECL genType
mirrorRepeat(genType
const& Texcoord);
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.