Project

General

Profile

« Previous | Next » 

Revision d4105efe

Added by Leszek Koltunski over 2 years ago

Simplification.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyDino4.java
72 72

  
73 73
///////////////////////////////////////////////////////////////////////////////////////////////////
74 74

  
75
  public int getCubitFaceColor(int cubit, int face, int[] numLayers)
75
  public int getCubitFaceColor(int cubit, int face)
76 76
    {
77 77
    if( mFaceMap==null ) mFaceMap = new int[] { 4, 2, 2, 4, 0, 2, 1, 4, 0, 0, 1, 1 };
78 78
    return face<2 ? mFaceMap[cubit] : -1;

Also available in: Unified diff