diff options
author | zxcvdev <zxcvdev@protonmail.com> | 2020-02-08 21:32:01 +0100 |
---|---|---|
committer | zxcvdev <zxcvdev@protonmail.com> | 2020-02-09 03:41:48 +0100 |
commit | 3580ad6005500abaf9bbb12db73adcfa762bd2e5 (patch) | |
tree | 9385a530bfb74862959d4eeefff755e227d338a3 /core/project_settings.h | |
parent | 42f04cbc1a59772a5f7eca9c6847fa349b23a70e (diff) |
Fix GPU Particles
The special case atan(y,0) of the built-in shader function atan(y,x)
returns different results on different devices. So this commit will add
checks when the atan(y,x) function is used in ParticlesMaterial to set
the direction of GPU Particles to make sure the desired values are
returned (act as atan2(y,x)).
Diffstat (limited to 'core/project_settings.h')
0 files changed, 0 insertions, 0 deletions