Project

General

Profile

« Previous | Next » 

Revision 9f1f377d

Added by Leszek Koltunski about 4 years ago

Progress with object Movement.

View differences:

src/main/java/org/distorted/object/RubikCubeMovement.java
56 56

  
57 57
///////////////////////////////////////////////////////////////////////////////////////////////////
58 58

  
59
  float fillUpRotationVectAndOffset(float[] v, int[] possible)
59
  float fillUpRotationVectAndOffset(float[] v, float[] touch, int[] possible)
60 60
    {
61 61
    mRotationVect = isVertical(v[possible[0]],v[possible[1]]) ? possible[0] : possible[1];
62
    return mTouch[mRotationVect]+0.5f;
62
    return touch[mRotationVect]+0.5f;
63 63
    }
64 64

  
65 65
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff