Project

General

Profile

« Previous | Next » 

Revision db19251c

Added by Leszek Koltunski 9 months ago

another fix for the automatic rotations of Ghosts.

We still seem to be sometimes losing the correct mGhostAxis during automatic rotations.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObjectControllable.java
426 426
      axis = mGhostAxis;
427 427
      int tmp = 1<<(mGhostNumRows-mGhostFirstRow);
428 428
      rowBitmap = (tmp-1)<<mGhostFirstRow;
429
      angle += mGhostAngle;
429
      angle -= mGhostAngle;
430 430
      }
431 431

  
432 432
    Static3D rotAx = retRotAxis(axis);

Also available in: Unified diff