Cuberite
A lightweight, fast and extensible game server for Minecraft
|
A simple hash function for chunk coords, we assume that chunk coords won't use more than 16 bits, so the hash is almost an identity. More...
#include <ChunkDef.h>
Public Member Functions | |
size_t | operator() (const cChunkCoords &a_Coords) const |
A simple hash function for chunk coords, we assume that chunk coords won't use more than 16 bits, so the hash is almost an identity.
Used for std::unordered_map<cChunkCoords, ...>
Definition at line 575 of file ChunkDef.h.
|
inline |
Definition at line 578 of file ChunkDef.h.