Revision 7e338611
Added by Leszek Koltunski about 4 years ago
| src/main/java/org/distorted/objects/MovementSquare.java | ||
|---|---|---|
| 46 | 46 |
|
| 47 | 47 |
int computeRowFromOffset(int face, int axisIndex, int numLayers, float offset) |
| 48 | 48 |
{
|
| 49 |
return offset>DIST2D? 2-axisIndex : 0;
|
|
| 49 |
return offset<DIST2D? 0 : 2-axisIndex;
|
|
| 50 | 50 |
} |
| 51 | 51 |
|
| 52 | 52 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
On second thought, come back to Vector. The problem: before we had the potentially blocking function 'effectFinished' inside our synchronized block.