assimp/code
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
..
AssetLib Fix identity matrix check (#5445) 2024-02-06 21:24:41 +01:00
CApi Fix: Remove buggy namespace declaration 2023-03-10 09:00:37 +01:00
Common Update StbCommon.h to stay up-to-date with stb_image.h. 2024-01-29 13:52:54 +01:00
Geometry Reafctoring: Add GeoUtils usage 2023-05-04 20:57:20 +02:00
Material Add missing include 2023-06-03 16:28:55 +02:00
Pbrt Refactorings: come code cleanups 2023-12-29 16:55:37 +01:00
PostProcessing Kimkulling/fix bahavior of remove redundat mats issue 5438 (#5451) 2024-02-01 21:27:04 +01:00
res Use mingw.include 2022-06-30 20:58:34 +02:00
.editorconfig Implemented: Add editor config for source code 2015-06-28 15:50:57 -06:00
CMakeLists.txt Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00