Fix segfault from reading bad number of indices

This commit is contained in:
Josiah VanderZee
2022-11-14 19:34:36 -06:00
committed by JosiahWI
parent 79ffe6b6d8
commit b47858cf80
2 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ TEST_CASE("blender cube") {
CHECK(indices[0] == 0);
CHECK(indices[1] == 3);
CHECK(indices[2] == 9);
CHECK(indices[35] == 16);
}
SECTION("vertex normals are correct") {