Clutter Engine 0.0.1
Loading...
Searching...
No Matches
wrap.hpp
Go to the documentation of this file.
1
12
13#pragma once
14
15// Dependency:
16#include "../glm.hpp"
17#include "../gtc/vec1.hpp"
18
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.")
22# else
23# pragma message("GLM: GLM_GTX_wrap extension included")
24# endif
25#endif
26
27namespace glm
28{
31
34 template<typename genType>
35 GLM_FUNC_DECL genType clamp(genType const& Texcoord);
36
39 template<typename genType>
40 GLM_FUNC_DECL genType repeat(genType const& Texcoord);
41
44 template<typename genType>
45 GLM_FUNC_DECL genType mirrorClamp(genType const& Texcoord);
46
49 template<typename genType>
50 GLM_FUNC_DECL genType mirrorRepeat(genType const& Texcoord);
51
53}// namespace glm
54
55#include "wrap.inl"
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Definition wrap.inl:53
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Definition wrap.inl:24
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Definition wrap.inl:36
Core features
Definition common.hpp:21