0.9.7
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_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.
Definition: _noise.hpp:40
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.