assimp/code
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
..
AssetLib Fix MSVC Warnings With “emplace_back()” 2023-01-18 00:08:38 +01:00
CApi Update copyrights 2022-01-10 21:13:43 +01:00
Common Refactoring: Move asserthandler header to include 2022-12-23 16:19:39 +01:00
Material Update copyrights 2022-01-10 21:13:43 +01:00
Pbrt Manually fix up 100 more instances where it should be defaulted 2022-08-25 12:20:13 -04:00
PostProcessing Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05: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 Fix several spelling mistakes & a comment 2023-01-01 13:31:48 -05:00