initial commit

This commit is contained in:
2026-04-29 00:17:00 -04:00
commit 5cc2a5f269
11 changed files with 3878 additions and 0 deletions

26
src/Mesh.h Normal file
View File

@@ -0,0 +1,26 @@
//
// Created by slinky on 4/26/26.
//
#ifndef B_ENGINE_MESH_H
#define B_ENGINE_MESH_H
#include <vector>
#include "glad/gl.h"
class Mesh {
public:
Mesh() = default;
Mesh(const std::vector<float>& positions,
const std::vector<float>& uvs,
const std::vector<float>& normals,
const std::vector<float>& indices);
void bind();
private:
GLuint vao;
};
#endif //B_ENGINE_MESH_H