GLM  0.9.5
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
genType lowerMultiple(genType const &Source, genType const &Multiple)
Lower multiple number of Source.
genType higherMultiple(genType const &Source, genType const &Multiple)
Higher multiple number of Source.