Can now load a glb model with textures embedded in the model. Further cleanup coming.

This commit is contained in:
Zed A. Shaw 2026-08-24 16:29:06 -04:00
parent 5b5e8a9fb0
commit c6a7c42a4e
12 changed files with 323 additions and 194 deletions

View file

@ -0,0 +1,21 @@
#include <deque>
#include <string>
#include <fuc2/testing.hpp>
#include "model.hpp"
using namespace fuc2;
namespace model_tests {
void test_load_textures() {
Model model{"assets/popcorn_model_a.glb"};
}
fuc2::Set TESTS{
.name="models",
.options={ .fail_fast=false },
.tests={
TEST(test_load_textures),
}
};
}