feat(vbo): add core namespace

This commit is contained in:
2026-01-07 13:49:16 +01:00
parent ab42e5489f
commit ea5aed80d2

View File

@@ -5,6 +5,8 @@
#include "glad/glad.h" #include "glad/glad.h"
namespace core
{
// A VBO (Vertex Buffer Object) is a contiguous block of GPU memory that stores // A VBO (Vertex Buffer Object) is a contiguous block of GPU memory that stores
// vertex data as raw bytes. // vertex data as raw bytes.
class VBO class VBO
@@ -29,5 +31,6 @@ class VBO
// unbinds current GL_ARRAY_BUFFER target (it's replaced by null id) // unbinds current GL_ARRAY_BUFFER target (it's replaced by null id)
static void unbind(); static void unbind();
}; };
} // namespace core
#endif #endif