now it works. stupid vsc.

This commit is contained in:
yggdrasil75
2025-11-17 06:44:10 -05:00
parent 9d06d10a92
commit a7183256cc
4 changed files with 738 additions and 1478 deletions

View File

@@ -8,10 +8,8 @@
class Vec2 {
public:
float x, y;
size_t index;
Vec2() : x(0), y(0) {}
Vec2(float x, float y) : x(x), y(y) {}
Vec2(float x, float y, size_t index) : x(x), y(y), index(index) {}
Vec2& move(const Vec2 newpos) {
x = newpos.x;