diff options
| author | Karl Schultz <karl@lunarg.com> | 2017-08-15 09:08:53 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2017-08-15 13:16:25 -0600 |
| commit | b3592ed213574b97c458dc6b8243c1abac44105b (patch) | |
| tree | fceaf171e71f35dd386d969264e4e95bc5a83e50 /scripts/parameter_validation_generator.py | |
| parent | b01a770355a7ad7c67c8f14e5f948f451efac3b2 (diff) | |
| download | usermoji-b3592ed213574b97c458dc6b8243c1abac44105b.tar.xz | |
demos: Fix disappearing objects in smoketest
When an object reaches the end of its "curve" path
it receives a new curve. To ease the transition from
the old curve to the new curve, the origin of the new
curve is the ending point of the old curve. However,
this can result in the starting point of the new curve
being out of the view. This results in objects slowing
leaving the view.
Add code to move the origin of the new curve back inside
the original view bounds only if the end of the old curve
is out of the view bounds. This does not add any additional
jarring because any object getting a new origin is already
outside the view anyway.
Change-Id: I50e88be453f31b9c37878f63c97d4c7c8154e718
Diffstat (limited to 'scripts/parameter_validation_generator.py')
0 files changed, 0 insertions, 0 deletions
