assimp/code/AssetLib/MMD
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
..
MMDCpp14.h Update copyrights 2022-01-10 21:13:43 +01:00
MMDImporter.cpp Fix MSVC Warnings With “emplace_back()” 2023-01-18 00:08:38 +01:00
MMDImporter.h Update copyrights 2022-01-10 21:13:43 +01:00
MMDPmdParser.h Fix ordering of initalizer list 2022-08-27 15:20:53 +02:00
MMDPmxParser.cpp Update copyrights 2022-01-10 21:13:43 +01:00
MMDPmxParser.h apply fixes to more headers 2022-09-01 12:28:45 -04:00
MMDVmdParser.h Update copyrights 2022-01-10 21:13:43 +01:00