Project

General

Profile

« Previous | Next » 

Revision 14a4712f

Added by Leszek Koltunski about 4 years ago

Progress with object Movement. Assigning new Rotations works now, independently of object type.

View differences:

src/main/java/org/distorted/object/RubikPyraminxMovement.java
30 30

  
31 31
  RubikPyraminxMovement()
32 32
    {
33
    super(RubikPyraminx.AXIS,1,SQ2*SQ3/12);
33
    super(RubikPyraminx.AXIS, 1, SQ2*SQ3/12, SQ3/6);
34 34
    }
35 35

  
36 36
///////////////////////////////////////////////////////////////////////////////////////////////////
......
61 61
    return a1 && a2 && a3;
62 62
    }
63 63

  
64
///////////////////////////////////////////////////////////////////////////////////////////////////
65
// TODO
66

  
67
  float fillUpRotationVectAndOffset(float[] v, float[] touch, int[] possible)
68
    {
69
    //mRotationVect = isVertical(v[possible[0]],v[possible[1]]) ? possible[0] : possible[1];
70
    //return mTouch[mRotationVect]+0.5f;
71

  
72
    return 0;
73
    }
74

  
75 64
///////////////////////////////////////////////////////////////////////////////////////////////////
76 65
// TODO
77 66

  

Also available in: Unified diff