diff --git a/libs/gfx/include/psemek/gfx/mesh.hpp b/libs/gfx/include/psemek/gfx/mesh.hpp index 5f5d0497..d77b0f60 100644 --- a/libs/gfx/include/psemek/gfx/mesh.hpp +++ b/libs/gfx/include/psemek/gfx/mesh.hpp @@ -105,6 +105,16 @@ namespace psemek::gfx static constexpr GLboolean normalized = gl::FALSE_; }; + template + struct attrib_traits> + { + using attrib_type = std::array; + + static constexpr GLint size = N; + static constexpr GLenum type = attrib_traits::type; + static constexpr GLboolean normalized = gl::FALSE_; + }; + template struct attrib_traits> {