Project

General

Profile

« Previous | Next » 

Revision 39b4dcfd

Added by Leszek Koltunski over 2 years ago

Remove ObjectType from a few moree places.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObject.java
866 866
      }
867 867
    }
868 868

  
869
///////////////////////////////////////////////////////////////////////////////////////////////////
870

  
871
  private void recordQuatsState(String message)
872
    {
873
    StringBuilder quats = new StringBuilder();
874

  
875
    for(int j=0; j<NUM_CUBITS; j++)
876
      {
877
      quats.append(mQuatDebug[j]);
878
      quats.append(" ");
879
      }
880

  
881
    String name = intGetObjectType(mNumLayers).name();
882
    mInterface.reportProblem("obj: "+name+" quats: "+quats.toString());
883
    }
884

  
885 869
///////////////////////////////////////////////////////////////////////////////////////////////////
886 870

  
887 871
  void setLibInterface(ObjectLibInterface inter)
......
1084 1068
        CUBITS[i].solve();
1085 1069
        mMesh.setEffectAssociation(i, CUBITS[i].computeAssociation(),0);
1086 1070
        }
1087
      recordQuatsState("Failed to restorePreferences");
1088 1071
      }
1089 1072
    }
1090 1073

  

Also available in: Unified diff