Contains various utility classes, type definitions and functions.
More...
|
|
template<typename T > |
| T | toRadians (const T &val) |
| | Convert degrees to radian.
|
| |
| template<class T > |
| void | hashCombine (size_t *seed, const T &v) |
| |
|
C ::type | tupleForEach (const std::tuple< Types... > &t, const C &op) |
| |
Contains various utility classes, type definitions and functions.
◆ hashCombine()
template<class T >
| void VulkanEngine::Utilities::hashCombine |
( |
size_t * |
seed, |
|
|
const T & |
v |
|
) |
| |
|
inline |
Helper function for combining the hash of one type with another.
- Template Parameters
-
- Parameters
-
| seed | The hash to combine with. |
| v | The value to hash. |