Examples of PanEvent


Examples of org.mt4j.input.inputProcessors.componentProcessors.panProcessor.PanEvent

  /* (non-Javadoc)
   * @see com.jMT.input.gestureAction.IGestureAction#processGesture(com.jMT.input.inputAnalyzers.GestureEvent)
   */
  public boolean processGestureEvent(MTGestureEvent g) {
    if (g instanceof PanEvent){
      PanEvent pe = (PanEvent)g;
      pe.getCamera().moveCamAndViewCenter(-pe.getTranslationVector().getX(), -pe.getTranslationVector().getY(), -pe.getTranslationVector().getZ())
    }
    return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.