![]() |
CUGL 3.0
Cornell University Game Library
|
#include <CUObjModel.h>
Public Member Functions | |
std::size_t | operator() (const VertexInfo &info) const |
This struct is a hash function for VertexInfo.
This function allows us to use VertexInfo as a key in STL containers like unordered_set and unordered_map.
|
inline |
Returns a hashs code for the given info
info | The vertex info to hash |