assimp/code/AssetLib
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
..
3DS correct grammar/typographic errors in comments (8 files) 2023-12-04 23:58:54 +01:00
3MF feat:1.add 3mf vertex color read 2.fix 3mf read texture bug (#5361) 2024-02-04 20:23:07 +01:00
AC Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
AMF Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
ASE Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Assbin Always include "zlib.h" (rather than .../contrib/zlib/zlib.h) 2023-11-29 09:53:03 +01:00
Assjson Fix warning related to missing-variable-declarations, add static to global variable. 2023-04-19 23:27:23 +08:00
Assxml Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
B3D Fix namespaces. 2023-11-12 21:09:33 +01:00
BVH Fix namespaces. 2023-11-12 21:09:33 +01:00
Blender correct grammar/typographic errors in comments (8 files) 2023-12-04 23:58:54 +01:00
C4D Merge branch 'master' into clean-up-ctors-dtors 2023-01-23 21:21:34 +01:00
COB Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
CSM Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Collada Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
DXF Update DXFLoader.cpp 2024-01-27 12:14:35 +01:00
FBX `Blendshape`->`Geometry` in FBX Export (#5419) 2024-02-05 16:55:00 +01:00
HMP Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
IFC @ error 2024-01-06 20:57:41 +01:00
IQM Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
Irr Static code analysis fixes (#5447) 2024-01-31 09:30:54 +01:00
LWO Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
LWS Static code analysis fixes (#5447) 2024-01-31 09:30:54 +01:00
M3D Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
MD2 Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
MD3 Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
MD4 Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
MD5 Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
MDC Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
MDL Update MDLMaterialLoader.cpp 2023-12-22 13:23:08 +01:00
MMD always include "utf8.h" (instead of contrib/.../utf8.h) 2023-11-29 09:53:03 +01:00
MS3D Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
NDO Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
NFF Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
OFF Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Obj Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Ogre Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
OpenGEX Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
Ply Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Q3BSP - fixed q3bsp issue 2023-12-20 20:55:04 +01:00
Q3D Refactoring: Some cleanups 2023-11-12 21:09:33 +01:00
Raw Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
SIB always include "utf8.h" (instead of contrib/.../utf8.h) 2023-11-29 09:53:03 +01:00
SMD Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
STEPParser Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
STL Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Step Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
Terragen Fix namespaces. 2023-11-12 21:09:33 +01:00
Unreal Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
X Fix X importer breakage introduced in commit f844c33 (#5372) 2024-02-04 10:38:07 +01:00
X3D X3D: Don't convert IndexedLineSet polylines with > 2 indices to triangles/polygons 2024-01-09 20:55:51 +01:00
XGL Add bounds checks to the parsing utilities. (#5421) 2024-01-30 14:32:41 +01:00
glTF Fix identity matrix check (#5445) 2024-02-06 21:24:41 +01:00
glTF2 Fix identity matrix check (#5445) 2024-02-06 21:24:41 +01:00