assimp/code/AssetLib
Krishty 72f360710a Fix MSVC Warnings With “emplace_back()”
Several places in the code call `std::vector<aiVector3D>.emplace_back(0, 0, 0)`. The constructor of `aiVector3D` actually expects arguments of the type `ai_real`, (alias of `float` if compiling without `ASSIMP_DOUBLE_PRECISION`) but the literal `0` is of type `int`.

`emplace_back()` does support promotion, but `int` to `float` is a potentially lossy conversion. tl;dr: On warning level 4, MSVC spits out a very deeply nested `warning C4244: 'argument': conversion from '_Ty' to 'TReal', possible loss of data with _Ty=int and TReal=ai_real`.
2023-01-18 00:08:38 +01:00
..
3DS Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
3MF Remove redundant ctor 2022-11-03 12:46:40 -04:00
AC Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
AMF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
ASE Fix:Add missing semicolon. 2022-12-05 13:15:42 +01:00
Assbin add missing light data to assbin import/export 2022-09-05 16:09:24 +02:00
Assjson Fix: Add missing ahndling for double export in json 2022-10-18 19:05:04 +02:00
Assxml Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
B3D Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
BVH Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Blender Merge branch 'master' into explspec 2022-11-30 14:03:09 +01:00
C4D C4D. Fix merge conflicts 2022-01-18 22:21:58 +01:00
COB Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
CSM Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Collada Fix several spelling mistakes & a comment 2023-01-01 13:31:48 -05:00
DXF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
FBX Remove deprecated comment 2023-01-15 19:12:24 +01:00
HMP Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
IFC Use make_shared in IFCBoolean 2022-11-08 11:30:53 -05:00
IQM Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Irr Fix some indentation 2022-11-08 11:19:12 -05:00
LWO Fix: Fix possible division by zero 2023-01-04 09:19:37 +01:00
LWS Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
M3D Update M3DWrapper.h 2022-05-31 19:16:46 +02:00
MD2 Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MD3 Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MD4 Move format importer and exporter into its won folder. 2020-05-02 15:14:38 +02:00
MD5 Update MD5Parser.cpp 2022-12-15 14:06:57 +01:00
MDC Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
MDL FIX: Fix possible division by zero 2022-12-02 09:24:51 +01:00
MMD Fix MSVC Warnings With “emplace_back()” 2023-01-18 00:08:38 +01:00
MS3D Explicitly default all empty dtors 2022-08-25 11:32:59 -04:00
NDO Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
NFF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
OFF Fixes Heap-buffer-overflow READ 4 in Assimp::ScenePreprocessor::ProcessMesh 2022-12-10 01:22:00 +00:00
Obj Fix minor review findings. 2022-12-16 09:03:40 +01:00
Ogre Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
OpenGEX Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
Ply Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Q3BSP Apply modernize-use-emplace clang-tidy rule 2022-08-23 11:41:49 -04:00
Q3D Apply some more modernize-use-emplace 2022-09-02 11:20:02 -04:00
Raw Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
SIB Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
SMD Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
STEPParser Update copyrights 2022-01-10 21:13:43 +01:00
STL Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Step Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
Terragen Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
Unreal Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
X Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
X3D Fix MSVC Warnings With “emplace_back()” 2023-01-18 00:08:38 +01:00
XGL Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTF Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
glTF2 Merge branch 'master' into modernize-smartptrs-literals 2022-11-29 09:58:17 +01:00