Project

General

Profile

« Previous | Next » 

Revision 39e74052

Added by Leszek Koltunski about 4 years ago

Progress with object Movement.

View differences:

src/main/java/org/distorted/object/RubikCube.java
211 211
    {
212 212
    return 4;
213 213
    }
214

  
215
///////////////////////////////////////////////////////////////////////////////////////////////////
216

  
217
  public int returnRowFromOffset(float offset)
218
    {
219
    return (int)(getSize()*offset);
220
    }
214 221
}

Also available in: Unified diff