示例#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();
 }