1 16 17 package com.buchuki.ensmer.input.command.navigation; 18 19 import com.buchuki.ensmer.EnsmerManager; 20 import com.buchuki.ensmer.input.Accelerator; 21 import javax.vecmath.Vector3f; 22 23 27 public class OrientedMoveCommand extends MoveCommand{ 28 29 32 public OrientedMoveCommand(Transformable3D transformable, Accelerator accel, 33 float accelMod, MoveCommand.Axis axis) { 34 super(transformable, accel, accelMod, axis); 35 } 36 37 42 @Override  43 protected void transformVector(Vector3f vector) { 44 EnsmerManager.instance().getInterfaceManager(). 45 getViewPosition().transform(vector); 46 } 47 } 48 | Popular Tags |