Project

General

Profile

« Previous | Next » 

Revision 70926209

Added by Leszek Koltunski 21 days ago

  • ID 70926209f6eab0446278796f3a6253e9461f0d25
  • Parent a8032ae7

change format of ObjectMove from (axis,rowBitmap,bareAngle) to (axis,rowBitmap,angleInDegrees)

View differences:

src/main/java/org/distorted/phasedsolver/SolverActivity.java
320 320

  
321 321
///////////////////////////////////////////////////////////////////////////////////////////////////
322 322

  
323
  void addMove(int axis, int rowBitmap, int angle)
323
  void addMove(int axis, int rowBitmap, int degrees)
324 324
    {
325 325
    if( mCurrMode==0 )
326 326
      {
327
      int move = mObject.findMove(axis,rowBitmap,angle);
327
      int move = mObject.findMove(axis,rowBitmap,degrees);
328 328
      mText += (" " + move);
329 329

  
330 330
      while( mText.length()>28 )
src/main/java/org/distorted/phasedsolver/SolverObjectLibInterface.java
43 43

  
44 44
///////////////////////////////////////////////////////////////////////////////////////////////////
45 45

  
46
  public void onRemoveRotation(int axis, int rowBitmap, int angle)
46
  public void onRemoveRotation(int axis, int rowBitmap, int degrees)
47 47
    {
48 48
    SolverActivity act = mAct.get();
49
    act.addMove(axis,rowBitmap,angle);
49
    act.addMove(axis,rowBitmap,degrees);
50 50
    }
51 51
}

Also available in: Unified diff