#ifndef VEC2_HPP #define VEC2_HPP struct Vec2 { float x, y; auto& operator+=(const Vec2& o) noexcept { x += o.x; y += o.y; return *this; } }; #endif // VEC2_HPP