mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 15:49:30 +00:00
update assimp lib
This commit is contained in:
parent
03a348deb7
commit
d3f8fee74e
1725 changed files with 196314 additions and 62009 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Open Asset Import Library (assimp)
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2006-2022, assimp team
|
||||
Copyright (c) 2006-2024, assimp team
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
|
@ -114,6 +114,9 @@ TEST_F(utColladaExport, testExportCamera) {
|
|||
EXPECT_FLOAT_EQ(pos[i].y, read->mPosition.y);
|
||||
EXPECT_FLOAT_EQ(pos[i].z, read->mPosition.z);
|
||||
}
|
||||
|
||||
// Cleanup, delete the exported file
|
||||
EXPECT_EQ(0, std::remove(file));
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
|
@ -169,7 +172,7 @@ TEST_F(utColladaExport, testExportLight) {
|
|||
|
||||
const aiScene *imported = im->ReadFile(file, aiProcess_ValidateDataStructure);
|
||||
|
||||
ASSERT_TRUE(imported != NULL);
|
||||
ASSERT_TRUE(imported != nullptr);
|
||||
|
||||
// Check common metadata survived roundtrip
|
||||
aiString readImporter;
|
||||
|
|
@ -220,6 +223,9 @@ TEST_F(utColladaExport, testExportLight) {
|
|||
EXPECT_NEAR(orig->mAngleInnerCone, read->mAngleInnerCone, 0.001);
|
||||
EXPECT_NEAR(orig->mAngleOuterCone, read->mAngleOuterCone, 0.001);
|
||||
}
|
||||
|
||||
// Cleanup, delete the exported file
|
||||
EXPECT_EQ(0, std::remove(file));
|
||||
}
|
||||
|
||||
#endif // ASSIMP_BUILD_NO_EXPORT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue