- Main Page
- Modules
- Namespaces
- Classes
- Files

Functions
GLM_GTX_multiple: Multiples
GTX Extensions (Experimental)

Find the closest number of a number multiple of other number. More...

## Functions
template<typename genType >
genType | higherMultiple (genType const &Source, genType const &Multiple)
template<typename genType >
genType | lowerMultiple (genType const &Source, genType const &Multiple)

## Detailed Description

Find the closest number of a number multiple of other number.

<glm/gtx/multiple.hpp> need to be included to use these functionalities.

## Function Documentation

genType glm::gtx::multiple::higherMultiple | ( | genType const & | Source,
|  | genType const & | Multiple
| ) |  |

Higher Multiple number of Source.

From GLM_GTX_multiple extension.

genType glm::gtx::multiple::lowerMultiple | ( | genType const & | Source,
|  | genType const & | Multiple
| ) |  |

Lower Multiple number of Source.

From GLM_GTX_multiple extension.