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