pool allocation. not working. not sure why. will travel back in time...

This commit is contained in:
2025-09-05 11:21:34 -05:00
parent 75e72ba9ca
commit 1c7a9900be
10 changed files with 145 additions and 109 deletions

View File

@@ -5,16 +5,22 @@
#include <string>
#include "util.hpp"
struct ObjData {
float* verts;
int verts_len;
int* faces;
int faces_len;
};
struct Body {
glm::mat4 pose;
glm::vec4 color;
float scale;
uint ebo;
uint vao;
uint vbo;
uint shader;
std::vector<float> verts;
std::vector<int> faces;
glm::vec4 color;
ObjData data;
};
bool load_body(Body* out_body, std::string filepath);