Use std::scientific when outputting floats, so we do not get issues with 0.0 being...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 30 Jul 2015 11:09:12 +0000 (13:09 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 30 Jul 2015 11:09:12 +0000 (13:09 +0200)
commit457b9a7fa5a508084142dd97290fb590397069ff
tree555160acf487bac0b14017d9cc5ca145fb952aa1
parent71cf8dc668a86a14ea73c6bc442391996fe247cc
Use std::scientific when outputting floats, so we do not get issues with 0.0 being outputs as 0 (which is an int, which cannot always be implicitly converted to float in GLSL).
util.cpp