mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add binary glTF (.glb) support
This commit is contained in:
committed by
Lars Müller
parent
7e4919c6ed
commit
521e678d39
@@ -87,7 +87,10 @@ SECTION("minimal triangle") {
|
||||
}
|
||||
|
||||
SECTION("blender cube") {
|
||||
const auto mesh = loadMesh(model_stem + "blender_cube.gltf");
|
||||
const auto path = GENERATE(
|
||||
model_stem + "blender_cube.gltf",
|
||||
model_stem + "blender_cube.glb");
|
||||
const auto mesh = loadMesh(path);
|
||||
REQUIRE(mesh);
|
||||
REQUIRE(mesh->getMeshBufferCount() == 1);
|
||||
SECTION("vertex coordinates are correct") {
|
||||
|
Reference in New Issue
Block a user