Project

General

Profile

« Previous | Next » 

Revision 621a672c

Added by Leszek Koltunski over 1 year ago

Update P. Diamond's touchcontrol

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyPyraminxDiamond.java
10 10
package org.distorted.objectlib.objects;
11 11

  
12 12
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_OCTAHEDRON;
13
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
13
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_SPLIT_EDGE;
14 14

  
15 15
import org.distorted.library.type.Static3D;
16 16
import org.distorted.library.type.Static4D;
......
101 101

  
102 102
  public int getTouchControlSplit()
103 103
    {
104
    return TYPE_NOT_SPLIT;
104
    return TYPE_SPLIT_EDGE;
105 105
    }
106 106

  
107 107
///////////////////////////////////////////////////////////////////////////////////////////////////
108 108

  
109 109
  public int[][][] getEnabled()
110 110
    {
111
    int[][] e = {{0,1,2}};
112
    return new int[][][] {e,e,e,e,e,e,e,e};
111
    int[][] e0 = {{1},{2},{0}};
112
    int[][] e1 = {{1},{0},{2}};
113
    return new int[][][] { e0,e0,e0,e0,e1,e1,e1,e1 };
113 114
    }
114 115

  
115 116
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff