Revision 925ed78f
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyRedi.java | ||
---|---|---|
51 | 51 |
new Static3D(+SQ3/3,-SQ3/3,-SQ3/3) |
52 | 52 |
}; |
53 | 53 |
|
54 |
private static final int[] BASIC_ANGLE = new int[] { 3,3,3,3 }; |
|
55 |
|
|
54 | 56 |
private static final int[] FACE_COLORS = new int[] |
55 | 57 |
{ |
56 | 58 |
COLOR_YELLOW, COLOR_WHITE, |
... | ... | |
416 | 418 |
|
417 | 419 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
418 | 420 |
|
419 |
public int getBasicAngle() |
|
421 |
public int[] getBasicAngle()
|
|
420 | 422 |
{ |
421 |
return 3;
|
|
423 |
return BASIC_ANGLE;
|
|
422 | 424 |
} |
423 | 425 |
|
424 | 426 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Make it possible for an object to have different 'basicAngles' along each of its axis.