dangmoody / HLML

Auto-generated maths library for C and C++ based on HLSL/Cg
24 stars 1 forks source link

Warning C4244 in hlml_functions_vector.inl #4

Closed Flave229 closed 5 years ago

Flave229 commented 5 years ago

The following error occurs multiple times for many functions in this file: warning C4244: 'return': conversion from 'int32_t' to 'float', possible loss of data

dangmoody commented 5 years ago

Fix for this in dev branch at 0dcbe21.

I'll move it into release once we've verified it works for Flave.

Flave229 commented 5 years ago

Yep! Works for me on the above commit. Feel free to close when merged into main :)

dangmoody commented 5 years ago

I added MSVC compile support. I'll setup Travis tomorrow. There should be no MSVC compile related issues after that. Once that's done then I'll merge into master.

dangmoody commented 5 years ago

Fixed.