First Commit

This commit is contained in:
2022-10-30 23:44:30 +01:00
commit fdd1e361c0
11 changed files with 251 additions and 0 deletions

16
Vector.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef VECTOR_H
#define VECTOR_H
struct Vec2
{
int x, y = 0;
Vec2 operator+ (const Vec2 left);
Vec2 operator* (const Vec2 left);
Vec2 operator* (const int left);
Vec2 operator/ (const int left);
int norm();
};
#endif /* VECTOR_H */