Project

General

Profile

« Previous | Next » 

Revision ccd8a6f2

Added by Leszek Koltunski about 1 year ago

Disconnect the rotation axis in the Tablebases from the axis in the objects.

View differences:

src/main/java/org/distorted/objectlib/tablebases/TablebasesCuboid232.java
12 12
import android.content.res.Resources;
13 13

  
14 14
import org.distorted.library.type.Static3D;
15
import org.distorted.objectlib.objects.TwistyCuboid;
16 15

  
17 16
///////////////////////////////////////////////////////////////////////////////////////////////////
18 17

  
......
57 56

  
58 57
  Static3D[] getRotationAxis()
59 58
    {
60
    return TwistyCuboid.ROT_AXIS;
59
    return new Static3D[]
60
         {
61
           new Static3D(1,0,0),
62
           new Static3D(0,1,0),
63
           new Static3D(0,0,1)
64
         };
61 65
    }
62 66

  
63 67
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff