Can now load a glb model with textures embedded in the model. Further cleanup coming.
This commit is contained in:
parent
5b5e8a9fb0
commit
c6a7c42a4e
12 changed files with 323 additions and 194 deletions
21
14-refactor/tests/model_tests.cpp
Normal file
21
14-refactor/tests/model_tests.cpp
Normal 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),
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue