diff --git a/deps/glutils/include/glutils/glutils.hpp b/deps/glutils/include/glutils/glutils.hpp index 8ebc73a3..3c7db967 100644 --- a/deps/glutils/include/glutils/glutils.hpp +++ b/deps/glutils/include/glutils/glutils.hpp @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace glutils { @@ -138,6 +139,14 @@ struct FrameBuffer { return fbo.id; } + [[nodiscard]] + constexpr ox::Vec2 sizef() const noexcept { + return { + static_cast(width), + static_cast(height), + }; + } + [[nodiscard]] constexpr ox::Size size() const noexcept { return {