Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
struct Point
{
int x;
int y;
constexpr Point()
: x(0), y(0) { }
constexpr Point(int x, int y)
: x(x), y(y) { }
constexpr s64 DistanceSquaredTo(const Point& other) const
{
return (s64)(other.x - x) * (other.x - x) + (s64)(other.y - y) * (other.y - y);
}
};