Move Utah teapot model reading code into dedicated module

This commit is contained in:
Camden Dixie O'Brien committed 2025-10-01 10:50:30 +01:00
1 parent 9f56e2a614
commit d221bb6c07
6 files changed
+245 -224

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#include "gpu.h"
#include "model.h"
#include "model_format_utah.h"
#include <assert.h>
#include <math.h>
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Usage: %s PATH/TO/MODEL\n", argv[0]);
return 1;
}
model_t model = model_read(argv[1]);
model_t model = model_format_utah_read(argv[1]);
// Set up window
glfwInit();