summaryrefslogtreecommitdiff
path: root/platform/uwp/power_uwp.h
diff options
context:
space:
mode:
authorStefano Bonicatti <smjert@gmail.com>2017-12-10 19:48:47 +0100
committerStefano Bonicatti <smjert@gmail.com>2017-12-10 19:56:45 +0100
commit95056ca9139cafa34619957711e2b739c9fc8672 (patch)
tree57cc76976f110dcf1fe2f722d6b906e1152ecbf0 /platform/uwp/power_uwp.h
parent523237943cff1bb1b2b5e85289bb89455856437a (diff)
Fix skybox generation imprecision with Clang
The bug generated a "blue circle" at the bottom end of the y axis, and probably one too at the other end. This is caused by a normalization of a vector which results in its y component to be sometimes > 1.0 or < -1.0 in Clang. This value is then used with acos(), which returns NaN. Fixes #11247
Diffstat (limited to 'platform/uwp/power_uwp.h')
0 files changed, 0 insertions, 0 deletions