GLM: multiple.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

multiple.hpp
Go to the documentation of this file.
1
39 #ifndef GLM_GTX_multiple
40 #define GLM_GTX_multiple
41
42 // Dependency:
43 #include "../glm.hpp"
44
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_multiple extension included")
47 #endif
48
49 namespace glm
50 {
53
61 template <typename genType>
62 genType higherMultiple(
63 genType const & Source,
64 genType const & Multiple);
65
73 template <typename genType>
74 genType lowerMultiple(
75 genType const & Source,
76 genType const & Multiple);
77
79 }//namespace glm
80
81 #include "multiple.inl"
82
83 #endif//GLM_GTX_multiple
glm::lowerMultiple
genType lowerMultiple(genType const &Source, genType const &Multiple)
Lower multiple number of Source.
glm::higherMultiple
genType higherMultiple(genType const &Source, genType const &Multiple)
Higher multiple number of Source.