Revision 347f6cc1
Added by Leszek Koltunski 12 months ago
src/main/java/org/distorted/objectlib/objects/TwistyIvy.java | ||
---|---|---|
338 | 338 |
if( variant==0 ) |
339 | 339 |
{ |
340 | 340 |
float height = isInIconMode() ? 0.001f : 0.015f; |
341 |
float[][] bands = { {height,20,0.2f,0.5f,7,1,2}, {0.001f,1,0.2f,0.0f,2,0,0} };
|
|
341 |
float[][] bands = { {height,25,0.5f,0.5f,7,1,2}, {0.001f,25,0.5f,0.5f,2,0,0} };
|
|
342 | 342 |
|
343 | 343 |
int[] indices = new int[3*(IVY_N+1)]; |
344 | 344 |
for(int i=0; i<3*(IVY_N+1); i++) indices[i] = 1; |
... | ... | |
352 | 352 |
{ |
353 | 353 |
float h1 = isInIconMode() ? 0.001f : 0.03f; |
354 | 354 |
float h2 = isInIconMode() ? 0.001f : 0.01f; |
355 |
float[][] bands = { { h1,35,0.5f,0.5f,5,0,0}, {h2,1,0.5f,0.8f,2,0,0} };
|
|
355 |
float[][] bands = { { h1,25,0.5f,0.5f,5,0,0}, {h2,25,0.5f,0.5f,2,0,0} };
|
|
356 | 356 |
|
357 | 357 |
int[] indices= new int[2*IVY_N+1]; |
358 | 358 |
for(int i=0; i<2*IVY_N+1; i++) indices[i] = 1; |
Also available in: Unified diff
correct face shapes (post-new MeshPolygon normal computation)