#pragma once namespace dchat { template struct Vec2 { T x, y; Vec2() : x(), y() {} Vec2(T _x, T _y) : x(_x), y(_y) {} /* Vec2(const Vec2 &other) { x = other.x; y = other.y; } Vec2& operator = (const Vec2 &other) { x = other.x; y = other.y; return *this; } */ }; using Vec2f = Vec2; using Vec2d = Vec2; using Vec2i = Vec2; using Vec2u = Vec2; }