initial commit

This commit is contained in:
ZY4N
2024-12-10 13:50:21 +01:00
parent 20bbd06a89
commit 275d47b7c6
33 changed files with 1066 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#ifndef INCLUDE_MESH_INSTANCE_IMPLEMENTATION
#error Never include this file directly include 'mesh_handle.hpp'
#endif
namespace zgl
{
inline void mesh_handle::bind() const
{
glBindVertexArray(vao_id);
}
inline void mesh_handle::unbind()
{
glBindVertexArray(0);
}
}