Revision 2666a48c
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/rubik/RubikCube.java | ||
---|---|---|
221 | 221 |
if( belongsToRotation(x,y,z,vector,rotRow) ) |
222 | 222 |
{ |
223 | 223 |
mRotationAxis[x][y][z].set(axis); |
224 |
mRotationAngle[x][y][z].makeRunNowFor(ROTATION_MILLISEC); |
|
224 |
mRotationAngle[x][y][z].setDuration(ROTATION_MILLISEC); |
|
225 |
mRotationAngle[x][y][z].resetToBeginning(); |
|
225 | 226 |
mRotationAngle[x][y][z].setPoint(1,90.0f); |
226 | 227 |
|
227 | 228 |
if( first ) |
Also available in: Unified diff
1. Change the API of Dynamic: split makeNowRunFor into two separate 'setDuration' and 'resetToBeginning'
2. Major changes to the 'Dynamic' app so that we can check more about the Dynamics.