1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef VECTOR2_H #define VECTOR2_H class Vector2 { public: float x, y; inline void Set(float x, float y) { this->x = x; this->y = y; } }; #endif