#ifndef GTYPES_HPP #define GTYPES_HPP #include template constexpr sf::Vector2 vec(T x, T y) { return sf::Vector2(x, y); } template constexpr sf::Vector3 vec(T x, T y, T z) { return sf::Vector3(x, y, z); } template constexpr sf::Rect rec(T x, T y, T width, T height) { return sf::Rect(x, y, width, height); } #endif