Project

General

Profile

« Previous | Next » 

Revision fb377dae

Added by Leszek Koltunski over 3 years ago

Major progress with Dino; rotations (almost?) work now.

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
466 466

  
467 467
      mCurrentAxis = (int)res.get0();
468 468
      float offset = res.get1();
469
      mCurrentRow = (int)(object.returnMultiplier()*offset);
469
      mCurrentRow  = object.computeRowFromOffset(offset);
470

  
470 471
      computeCurrentAxis( object.getRotationAxis()[mCurrentAxis] );
471 472
      mRotationFactor = object.returnRotationFactor(offset);
472 473

  

Also available in: Unified diff