|
Porytiles
|
std::hash specialization for ShapeMask. More...
#include <shape_mask.hpp>
Public Member Functions | |
| size_t | operator() (const porytiles::ShapeMask &tm) const noexcept |
std::hash specialization for ShapeMask.
Provides a hash function for ShapeMask objects to enable their use in standard hash-based containers like std::unordered_set and std::unordered_map. The hash is computed by combining each byte of the mask.
Definition at line 129 of file shape_mask.hpp.
|
inlinenoexcept |
Definition at line 130 of file shape_mask.hpp.