summaryrefslogtreecommitdiff
path: root/src/game/assets.cpp
diff options
context:
space:
mode:
authorday <day@national.shitposting.agency>2026-03-14 05:21:43 +0100
committerday <day@national.shitposting.agency>2026-03-14 05:21:43 +0100
commitc2a4f7c2e6e4651dda6350a80a57e177f5ff2f55 (patch)
treeb5cd91a753257e026da0b2e3bc680f7f29ece59d /src/game/assets.cpp
parent59ca7ecafca84fa62ee8d54d0e48521b7e4c0a95 (diff)
starting obj parsing
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r--src/game/assets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index 62663a9..2a73756 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -2,6 +2,7 @@
#include "../game.h"
#include "../render/gl_2d_font.h"
+#include "../render/model.h"
#include "../util/stb_image.h"
#include "../util/anim.h"
@@ -9,6 +10,7 @@
void assets_init( GAME_DATA *game ) {
game->assets.test = gl_texture_from_file( game->gl, "uvtest.png" );
game->assets.fonts_init = 0;
+ MODEL model = model_from_obj( "../assets/obj/", "base" );
}
void assets_create_fonts( struct GAME_DATA *game ) {