Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
GraphPositionHash Struct Reference

Hash function for GraphPosition to be used in unordered containers. Combines the hash values of the x and y coordinates to produce a unique hash. More...

#include <graph.h>

Public Member Functions

size_t operator() (const GraphPosition &p) const noexcept
 

Detailed Description

Hash function for GraphPosition to be used in unordered containers. Combines the hash values of the x and y coordinates to produce a unique hash.

Member Function Documentation

◆ operator()()

size_t GraphPositionHash::operator() ( const GraphPosition p) const
inlinenoexcept

The documentation for this struct was generated from the following file: