Commit Graph
2 Commits
Author SHA1 Message Date
zxcvdev 3580ad6005 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)).
2020-02-09 03:41:48 +01:00
zxcvdev 9a90ea1425 Fix crash when closing app on iphone 2020-01-18 09:54:07 +01:00