Revision ee526fe0
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/objects/TwistyObject.java | ||
---|---|---|
63 | 63 |
static final int COLOR_BROWN = 0xffb5651d; |
64 | 64 |
static final int COLOR_PINK = 0xffff90ff; |
65 | 65 |
static final int COLOR_VIOLET = 0xff7700bb; |
66 |
static final int COLOR_BLACK = 0xff000000; |
|
66 | 67 |
|
67 |
private static final float NODE_RATIO = 1.42f;
|
|
68 |
private static final float MAX_SIZE_CHANGE = 1.4f;
|
|
68 |
private static final float NODE_RATIO = 1.40f;
|
|
69 |
private static final float MAX_SIZE_CHANGE = 1.35f;
|
|
69 | 70 |
private static final float MIN_SIZE_CHANGE = 0.8f; |
70 | 71 |
|
71 | 72 |
private static boolean mCreateFromDMesh = true; |
72 | 73 |
|
73 | 74 |
private static final Static3D CENTER = new Static3D(0,0,0); |
74 |
static final int INTERIOR_COLOR = 0xff171717; |
|
75 | 75 |
private static final int POST_ROTATION_MILLISEC = 500; |
76 | 76 |
static final int TEXTURE_HEIGHT = 256; |
77 | 77 |
|
... | ... | |
415 | 415 |
|
416 | 416 |
canvas.drawRect(left,0,left+TEXTURE_HEIGHT,TEXTURE_HEIGHT,paint); |
417 | 417 |
|
418 |
paint.setColor(INTERIOR_COLOR);
|
|
418 |
paint.setColor(COLOR_BLACK);
|
|
419 | 419 |
paint.setStyle(Paint.Style.STROKE); |
420 | 420 |
|
421 | 421 |
int length = vertices.length; |
... | ... | |
503 | 503 |
paint.setTextAlign(Paint.Align.CENTER); |
504 | 504 |
paint.setStyle(Paint.Style.FILL); |
505 | 505 |
|
506 |
paint.setColor(INTERIOR_COLOR);
|
|
506 |
paint.setColor(COLOR_BLACK);
|
|
507 | 507 |
canvas.drawRect(0, 0, (NUM_TEXTURES+1)*TEXTURE_HEIGHT, TEXTURE_HEIGHT, paint); |
508 | 508 |
|
509 | 509 |
for(int i=0; i<NUM_TEXTURES; i++) |
Also available in: Unified diff
adjust the objects some more.