Project

General

Profile

« Previous | Next » 

Revision 39e74052

Added by Leszek Koltunski about 4 years ago

Progress with object Movement.

View differences:

src/main/java/org/distorted/magic/RubikSurfaceView.java
267 267
                                           Static2D rot = mMovement.newRotation(rotatedTouchPoint2);
268 268
                                           RubikObject object = mRenderer.getObject();
269 269

  
270
                                           object.beginNewRotation( (int)rot.get0(), (int)(object.getSize()*rot.get1()) );
270
                                           object.beginNewRotation( (int)rot.get0(), object.returnRowFromOffset(rot.get1()) );
271 271

  
272 272
                                           if( RubikState.getCurrentState()==RubikState.SOLV )
273 273
                                             {

Also available in: Unified diff