Revision 29bc084f
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/objects/TwistyDiamond.java | ||
---|---|---|
495 | 495 |
{ |
496 | 496 |
float R = 0.06f; |
497 | 497 |
float S = 0.07f; |
498 |
float[] RS = new float[] {R,R,R}; |
|
498 | 499 |
|
499 | 500 |
FactorySticker factory = FactorySticker.getInstance(); |
500 |
factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[0], null, S, FACE_COLORS[face], R); |
|
501 |
factory.drawRoundedPolygon(canvas, paint, left, top, STICKERS[0], null, S, FACE_COLORS[face], RS);
|
|
501 | 502 |
} |
502 | 503 |
|
503 | 504 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Convert the last 'special' case, the Rex edge sticker, to the generic sticker mechanism.