Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
|
Implementation of the Coordinates struct and its hash function. More...
#include "coordinates.hpp"
Namespaces | |
namespace | sista |
Sista library namespace. | |
Implementation of the Coordinates struct and its hash function.
This file contains the implementation of the Coordinates struct, which represents 2D coordinates with x and y values. It includes constructors, conversion methods, and overloaded operators for comparison and arithmetic operations. Additionally, it provides a specialization of std::hash for using Coordinates in hash-based containers.