@Override public void onZoom(int diff) { synchronized (renderLock) { nextDistance += .1 * diff; nextDistance = QuickMath.max(.1, nextDistance); } refresh(); }
@Override public void onMoveBackward() { synchronized (renderLock) { nextDistance += .1; nextDistance = QuickMath.max(.1, nextDistance); } refresh(); }