Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
Loading...
Searching...
No Matches
Namespaces
coordinates.cpp File Reference

Implementation of the Coordinates struct and its hash function. More...

#include "coordinates.hpp"
Include dependency graph for coordinates.cpp:

Namespaces

namespace  sista
 Sista library namespace.
 

Detailed Description

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.

Author
FLAK-ZOSO
Date
2022-2025
Version
3.0.0
See also
Border