commit | ca4ed90da78e5fa93045d9299a60e67c4d4aca8a | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Mar 08 13:34:12 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Mar 08 19:05:37 2019 +0000 |
tree | 3aa2e8b30c83928f95d64bdb2d5b7c9b485e467b | |
parent | 56181ba452d9f646e133655edf0fff8a079ad6c8 [diff] |
Particles: Store stable randoms after spawn affectors This fixes a subtle bug with correlated behavior, where the spawn and update affectors would get the same sequence of random values, leading to confusing patterns. Bug: skia: Change-Id: Ieaace68bfe92281ec81497a8c6ce0108df996a4c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199251 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>