Revision f1104ed9
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/helpers/FactorySticker.java | ||
---|---|---|
24 | 24 |
|
25 | 25 |
import static org.distorted.objects.TwistyObject.TEXTURE_HEIGHT; |
26 | 26 |
import static org.distorted.objects.TwistyObject.COLOR_BLACK; |
27 |
import static org.distorted.objects.TwistyIvy.IVY_D; |
|
28 |
import static org.distorted.objects.TwistyIvy.IVY_C; |
|
29 |
import static org.distorted.objects.TwistyIvy.IVY_M; |
|
30 | 27 |
import static org.distorted.objects.TwistyRex.REX_D; |
31 | 28 |
|
32 | 29 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
178 | 175 |
startA *= 180/(Math.PI); |
179 | 176 |
sweepA *= 180/(Math.PI); |
180 | 177 |
|
181 |
|
|
182 |
|
|
183 |
android.util.Log.e("D", "o1x="+o1x+" o1y="+o1y+" r1="+r1+" stA="+startA+" swA="+sweepA); |
|
184 |
|
|
185 |
|
|
186 | 178 |
canvas.drawArc( left+o1x-r1, top+o1y-r1, left+o1x+r1, top+o1y+r1, startA, sweepA, false, paint); |
187 | 179 |
|
188 | 180 |
float r3 = r*TEXTURE_HEIGHT + stroke/2; |
Also available in: Unified diff
Remove debugging.