OGL Engine 1.2.0-dev
Loading...
Searching...
No Matches
Engine::Physics::CellHash Struct Reference

Le hash d'une cellule donnée. More...

#include <spatialhash.hpp>

Public Member Functions

size_t operator() (Cell c) const

Detailed Description

Le hash d'une cellule donnée.

Il est généré à partir de la position de la cellule (X, Y) On génère un entier de 64 bits dans lequel X et Y sont placés l'un derrière l'autre pour obtenir une signature unique. X et Y faisant chacun 32 bits au maximum

Member Function Documentation

◆ operator()()

size_t Engine::Physics::CellHash::operator() ( Cell c) const

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