Project

General

Profile

« Previous | Next » 

Revision 169762ac

Added by Leszek Koltunski over 2 years ago

Corrections for the drwaing only the FRONT side mode.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyKilominx.java
49 49
  public void adjustStickerCoords()
50 50
    {
51 51
    int[] numLayers = getNumLayers();
52
    int index = numLayers[0]==3 ? 0:2;
52
    int index = numLayers[0]==3 ? 0:3;
53 53
    float CENTER_CORR = 0.87f;
54 54

  
55 55
    mStickerCoords[index][2] *= CENTER_CORR;

Also available in: Unified diff