Revision 7a632bb6
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
---|---|---|
337 | 337 |
int extraIndex = 0; |
338 | 338 |
int extraVertices = 0; |
339 | 339 |
|
340 |
float[] v1 = new float[] {0.07872959f, 0.5f, -0.15745914f, 0.09090907f , 0.3149183f, 0.09090907f }; |
|
341 |
float[] v2 = new float[] {0.07872959f, -0.3181818f , 0.3149183f, 0.090909086f , -0.15745914f, 0.090909086f}; |
|
342 |
float[] v3 = new float[] {-0.15745914f, 0.09090907f , -0.39364788f, -0.31818178f , 0.07872959f, -0.31818178f}; |
|
343 |
|
|
344 |
float[][] vertices = new float[][] {v1,v2,v3}; |
|
345 |
/* |
|
340 | 346 |
float[] v1 = new float[] { -A,-A, A,-A, A, A, -A, A }; |
341 | 347 |
float[] v2 = new float[] { A,-A, 2*A,-A, 2*A, A, A, A }; |
342 | 348 |
float[] v3 = new float[] {-3*A,-A, -A,-A, -A, A, -3*A, A }; |
... | ... | |
344 | 350 |
float[] v5 = new float[] {-3*A, A, -A, A, -A,3*A, -3*A,3*A }; |
345 | 351 |
|
346 | 352 |
float[][] vertices = new float[][] {v1,v2,v3,v4,v5}; |
353 |
*/ |
|
347 | 354 |
/* |
348 | 355 |
float[] c1 = new float[] { 0,0 }; |
349 | 356 |
float[] c2 = new float[] { 1.5f*A,0 }; |
Also available in: Unified diff
another bugfix for MeshMultigon.