17 #include "../gtc/vec1.hpp"
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_wrap is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_wrap extension included")
34 template<
typename genType>
35 GLM_FUNC_DECL genType
clamp(genType
const& Texcoord);
39 template<
typename genType>
40 GLM_FUNC_DECL genType
repeat(genType
const& Texcoord);
44 template<
typename genType>
45 GLM_FUNC_DECL genType
mirrorClamp(genType
const& Texcoord);
49 template<
typename genType>
50 GLM_FUNC_DECL genType
mirrorRepeat(genType
const& Texcoord);
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.