Project

General

Profile

« Previous | Next » 

Revision 2de721a3

Added by Leszek Koltunski 22 days ago

progress

View differences:

src/main/java/org/distorted/phasedsolver/SolverLowerPane.java
338 338
        ObjectMove move = mMoves[mCurrPhase][--mCurrMove];
339 339
        ObjectControl control = act.getControl();
340 340
        control.blockTouch(MOVES_PLACE_0);
341
        control.addRotation(this, move.getAxis(), move.getRowBitmap(), -move.getAngle(), MILLIS_PER_DEGREE);
341
        control.addBackwardRotation(this, move, MILLIS_PER_DEGREE);
342 342
        }
343 343
      else if( mCurrPhase>0 )
344 344
        {
......
376 376
        ObjectMove move = mMoves[mCurrPhase][mCurrMove++];
377 377
        ObjectControl control = act.getControl();
378 378
        control.blockTouch(MOVES_PLACE_1);
379
        control.addRotation(this, move.getAxis(), move.getRowBitmap(), move.getAngle(), MILLIS_PER_DEGREE);
379
        control.addForwardRotation(this, move, MILLIS_PER_DEGREE);
380 380
        if( mCurrMove==mNumMoves && mCurrPhase==mNumPhases-1 ) glowCubits(mCubitsNotInvolved[mCurrPhase]);
381 381
        }
382 382
      else if( mCurrPhase<mNumPhases-1 )

Also available in: Unified diff