Revision 1ded8771
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/objects/MovementIvy.java | ||
---|---|---|
44 | 44 |
|
45 | 45 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
46 | 46 |
|
47 |
int computeRowFromOffset(int face, int size, float offset)
|
|
47 |
int computeRowFromOffset(int face, int axisIndex, int numLayers, float offset)
|
|
48 | 48 |
{ |
49 | 49 |
return offset<DIST2D ? 0:1; |
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
53 | 53 |
|
54 |
public float returnRotationFactor(int size, int row)
|
|
54 |
public float returnRotationFactor(int numLayers, int row)
|
|
55 | 55 |
{ |
56 | 56 |
return 1.0f; |
57 | 57 |
} |
Also available in: Unified diff
Square-1: progress with movement.