gl: Refactor the rest of GLHelpers

This commit is contained in:
kd-11 2022-06-05 18:21:59 +03:00 committed by kd-11
parent 09824a718f
commit 35ef19cfc8
28 changed files with 1806 additions and 1817 deletions

View file

@ -700,6 +700,12 @@ template<typename T>
struct size3_base
{
T width, height, depth;
template<typename NT>
explicit constexpr operator size3_base<NT>() const
{
return{ static_cast<NT>(width), static_cast<NT>(height), static_cast<NT>(depth) };
}
};
template<typename T>