Project

General

Profile

« Previous | Next » 

Revision 605f319b

Added by Leszek Koltunski over 1 year ago

Bugfixes for touch control - specifically for furious swiping and concurrect backing of moves.

View differences:

src/main/java/org/distorted/objectlib/main/ObjectControl.java
295 295

  
296 296
      mTouchControl.getCastedRotAxis(mAxis,mQuat,mCurrentAxis);
297 297
      mRotationFactor = mTouchControl.returnRotationFactor(numLayers,mCurrentRow);
298
      object.beginNewRotation( mCurrentAxis, mCurrentRow );
299
      mInterface.onBeginRotation();
300
      addSpeedProbe(x,y);
301
      mBeginningRotation = false;
302
      mContinuingRotation= true;
298

  
299
      if( object.beginNewRotation( mCurrentAxis, mCurrentRow ) )
300
        {
301
        mInterface.onBeginRotation();
302
        addSpeedProbe(x,y);
303
        mBeginningRotation = false;
304
        mContinuingRotation= true;
305
        }
303 306
      }
304 307

  
305 308
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff