]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix matrix interpolation parameter calculation
authorMikko Rasa <tdb@tdb.fi>
Sat, 16 Jun 2018 12:23:01 +0000 (15:23 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 16 Jun 2018 12:23:01 +0000 (15:23 +0300)
With an x87 FPU and compiler optimizations enabled, the code could end up
taking arccos of a value very slightly larger than one.  This would result
in a NaN and destroy the matrix contents.


No differences found