Project

General

Profile

« Previous | Next » 

Revision 1eafa9c6

Added by Leszek Koltunski about 2 months ago

Fix the detection of the solved state.

View differences:

src/main/java/org/distorted/objectlib/touchcontrol/TouchControlSquare.java
35 35
    {
36 36
    super(object);
37 37

  
38
    mNumFaces = object.getNumFaces();
38
    mNumFaces = object.getNumPuzzleFaces();
39 39
    mFaceAxis = TouchControlHexahedron.FACE_AXIS;
40 40
    mTmp4  = new float[mNumFaces][4];
41 41
    mTmp2  = new float[mNumFaces][2];

Also available in: Unified diff