VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
VulkanEngine::Utilities Namespace Reference

Contains various utility classes, type definitions and functions. More...

Functions

template<typename 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)
 

Detailed Description

Contains various utility classes, type definitions and functions.

Function Documentation

◆ 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
TThe type to hash.
Parameters
seedThe hash to combine with.
vThe value to hash.