simulation/Vector.h
2022-10-30 23:44:30 +01:00

17 lines
244 B
C

#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 */