balls are moving on my screen

This commit is contained in:
2025-08-20 00:08:26 -05:00
parent 7bf24beb45
commit e7a623b5a5
5 changed files with 63 additions and 31 deletions

View File

@@ -81,6 +81,9 @@ bool load_body(body* out_body, const char* obj_filepath) {
}
uint vao, vbo, ebo;
vao = 0;
vbo = 0;
ebo = 0;
glGenVertexArrays(1, &vao);
glGenBuffers(1, &vbo);