17 #include "../gtc/vec1.hpp" 19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 20 # ifndef GLM_ENABLE_EXPERIMENTAL 21 # pragma message("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 # 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 mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.
Definition: wrap.inl:53
Core features
Definition: common.hpp:20
GLM_FUNC_DECL GLM_CONSTEXPR genType clamp(genType x, genType minVal, genType maxVal)
Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...
Definition: func_common.inl:505
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
Definition: wrap.inl:24
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.
Definition: wrap.inl:36