Revision 29695709
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};
|
|
340 |
float[] v1 = new float[] { 0,0, 0.5f, -SQ3/2, 1,0 };
|
|
341 |
float[] v2 = new float[] { -1,0, -0.5f, -SQ3/2, 0,0 };
|
|
342 |
float[] v3 = new float[] { 0,0, -0.5f, -SQ3/2, 0.5f, -SQ3/2 };
|
|
343 | 343 |
|
344 | 344 |
float[][] vertices = new float[][] {v1,v2,v3}; |
345 | 345 |
/* |
Also available in: Unified diff
Improve MeshMultigon (for the BandagedPyraminx case!)