stc
Loading...
Searching...
No Matches
Vec2.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5struct Vec2 {
6 int64_t x, y;
7
8 bool operator==(const Vec2& other) const { return x == other.x && y == other.y; }
9};
10
Definition Vec2.hpp:5
int64_t x
Definition Vec2.hpp:6
int64_t y
Definition Vec2.hpp:6
bool operator==(const Vec2 &other) const
Definition Vec2.hpp:8