Revision a2c64ac3
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/objectlib/objects/TwistyTins.java | ||
---|---|---|
317 | 317 |
{1,2,7}, |
318 | 318 |
{2,3,6,7}, |
319 | 319 |
{3,4,5,6}, |
320 |
{0,4,5}
|
|
320 |
{0,5,4}
|
|
321 | 321 |
}; |
322 | 322 |
|
323 | 323 |
return new ObjectShape(getVertices(variant), indices); |
... | ... | |
367 | 367 |
} |
368 | 368 |
else |
369 | 369 |
{ |
370 |
float h1 = isInIconMode() ? 0.001f : 0.035f;
|
|
370 |
float h1 = isInIconMode() ? 0.001f : 0.040f;
|
|
371 | 371 |
float h2 = isInIconMode() ? 0.001f : 0.010f; |
372 |
float[][] bands = { {h1,30,0.16f,0.8f,4,0,0}, {h2,30,0.16f,0.2f,3,0,0} };
|
|
372 |
float[][] bands = { {h1,30,0.3f,0.5f,5,0,0}, {h2,30,0.1f,0.2f,3,0,0} };
|
|
373 | 373 |
int[] bandIndices= { 0,1,1,1,1 }; |
374 | 374 |
return new ObjectFaceShape(bands,bandIndices,null); |
375 | 375 |
} |
... | ... | |
388 | 388 |
} |
389 | 389 |
else if( variant==1 ) |
390 | 390 |
{ |
391 |
float[][] corners = { {0.07f,0.40f}, {0.05f,0.30f} };
|
|
391 |
float[][] corners = { {0.05f,0.30f}, {0.05f,0.20f} };
|
|
392 | 392 |
int[] cornerIndices = { 0,0,1,1 }; |
393 | 393 |
float[][] centers = { {0.0f, -0.75f, -0.75f} }; |
394 | 394 |
int[] centerIndices = { 0,0,0,0 }; |
... | ... | |
396 | 396 |
} |
397 | 397 |
else if( variant==2 ) |
398 | 398 |
{ |
399 |
float[][] corners = { {0.07f,0.20f}, {0.05f,0.15f} };
|
|
399 |
float[][] corners = { {0.05f,0.20f}, {0.05f,0.15f} };
|
|
400 | 400 |
int[] cornerIndices = { 0,0,1,1,1,1,1,1 }; |
401 | 401 |
float[][] centers = { {0.0f, -0.5f, -0.5f} }; |
402 | 402 |
int[] centerIndices = { 0,0,0,0,0,0,0,0 }; |
Also available in: Unified diff
Tins Cube: improvements.