assimp/code/AssetLib/glTF
fvbj 2d98f6a880
Fix identity matrix check (#5445)
* Fix identity matrix check

Adds an extra epsilon value to check the matrix4x4 identity. The method is also used to export to GLTF/GLTF2 format to check node transformation matrices. The epsilon value can be set using AI_CONFIG_CHECK_IDENTITY_MATRIX_EPSILON with the default value set to 10e-3f for backward compatibility of legacy code.

* Fix type of float values in the unit test

* Update matrix4x4.inl

Fix typo

* Update matrix4x4.inl

Remove dead code.

* Add isIdentity-Test

* Update AssimpAPITest_aiMatrix4x4.cpp

---------

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
2024-02-06 21:24:41 +01:00
..
glTFAsset.h Fix warning related to nested-anon-types. 2023-04-01 10:30:10 +08:00
glTFAsset.inl Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTFAssetWriter.h Update copyrights 2022-01-10 21:13:43 +01:00
glTFAssetWriter.inl Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTFCommon.cpp Merge branch 'master' into common_base64 2022-01-11 18:46:08 +01:00
glTFCommon.h Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTFExporter.cpp Fix identity matrix check (#5445) 2024-02-06 21:24:41 +01:00
glTFExporter.h Fix identity matrix check (#5445) 2024-02-06 21:24:41 +01:00
glTFImporter.cpp Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
glTFImporter.h Update copyrights 2022-01-10 21:13:43 +01:00