public void Stop(Axis a) { MotionPerSecond = MotionPerSecond.SetAxis(a, 0); }
private Vector2 CalcFrameVelocity(TimeSpan elapsedInFrame) { var frameMotion = MotionPerSecond.Scale(elapsedInFrame.TotalSeconds); return(frameMotion); }
public void Stop(Axis a) { MotionPerSecond = MotionPerSecond.SetAxis(a, 0); }
private Vector2 CalcFrameVelocity(TimeSpan elapsedInFrame) { var frameMotion = MotionPerSecond.Scale(elapsedInFrame.TotalSeconds); return(frameMotion); }