Add --list option, macOS no-Homebrew build docs, case-insensitive texture test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
d4c34f8908
commit
19a400b17c
3 files changed
+40
-3
No files matched your search
+2
-1
@@ -1,5 +1,6 @@
|
||||
// Loader and posing tests. Test models are generated by tools/make_test_models.py.
|
||||
#include "model/ModelLoader.h"
|
||||
#include "model/PathUtil.h"
|
||||
#include "model/Poser.h"
|
||||
|
||||
#include <cmath>
|
||||
@@ -42,7 +43,7 @@ void testPmx() {
|
||||
CHECK(near(model->vertices[16].position, osg::Vec3f(1, 10, 1)));
|
||||
CHECK(near(model->vertices[0].uv.y(), 1.0f)); // v flipped to OpenGL convention
|
||||
CHECK(model->indices[0] == 0 && model->indices[1] == 4 && model->indices[2] == 1);
|
||||
CHECK(model->textures.size() == 1 && model->textures[0].path.find("checker.png") != std::string::npos);
|
||||
CHECK(model->textures.size() == 1 && mr::toLowerAscii(model->textures[0].path).find("checker.png") != std::string::npos);
|
||||
CHECK(model->warnings.empty());
|
||||
CHECK(model->materials.size() == 1 && model->materials[0].sharedToon == 0 && model->materials[0].drawEdge);
|
||||
CHECK(model->bones.size() == 4);
|
||||
|
||||
Reference in new issue
Block a user