Project

General

Profile

« Previous | Next » 

Revision bdbbb4c5

Added by Leszek Koltunski over 2 years ago

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

View differences:

src/main/java/org/distorted/objects/TwistySquare.java
19 19

  
20 20
package org.distorted.objects;
21 21

  
22
import static org.distorted.objects.Movement.TYPE_NOT_SPLIT;
22
import static org.distorted.objectlb.Movement.TYPE_NOT_SPLIT;
23 23

  
24 24
import android.content.res.Resources;
25 25

  
......
28 28
import org.distorted.library.mesh.MeshSquare;
29 29
import org.distorted.library.type.Static3D;
30 30
import org.distorted.library.type.Static4D;
31
import org.distorted.objectlb.Movement;
32
import org.distorted.objectlb.Movement6;
33
import org.distorted.objectlb.ObjectList;
34
import org.distorted.objectlb.Twisty6;
31 35

  
32 36
///////////////////////////////////////////////////////////////////////////////////////////////////
33 37

  
......
110 114

  
111 115
///////////////////////////////////////////////////////////////////////////////////////////////////
112 116

  
113
  Static4D[] getQuats()
117
  protected Static4D[] getQuats()
114 118
    {
115 119
    if( mQuats==null ) initializeQuats();
116 120
    return mQuats;
......
118 122

  
119 123
///////////////////////////////////////////////////////////////////////////////////////////////////
120 124

  
121
  int getNumCubitFaces()
125
  protected int getNumCubitFaces()
122 126
    {
123 127
    return 6;
124 128
    }
125 129

  
126 130
///////////////////////////////////////////////////////////////////////////////////////////////////
127 131

  
128
  float[][] getCuts(int numLayers)
132
  protected float[][] getCuts(int numLayers)
129 133
    {
130 134
    if( mCuts==null )
131 135
      {

Also available in: Unified diff