Revision 4b4c217e
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/objects/FactoryCubit.java | ||
---|---|---|
698 | 698 |
float Y4= MINX_SC*H*(1/(2*MINX_C4) - MINX_C4); |
699 | 699 |
|
700 | 700 |
float[] vertices0 = { -X1, Y2, 0, -Y1, X1, Y2, 0, Y1 }; |
701 |
float[] bands0 = computeBands(0.04f,20,0.3f,0.2f,5);
|
|
701 |
float[] bands0 = computeBands(0.04f,17,0.3f,0.2f,5);
|
|
702 | 702 |
float[] vertices1 = { -X2, Y4, 0, -Y3, X2, Y4, 0, Y3 }; |
703 |
float[] bands1 = computeBands(0.00f, 0,0.25f,0.5f,2);
|
|
703 |
float[] bands1 = computeBands(0.00f, 0,0.25f,0.5f,5);
|
|
704 | 704 |
|
705 | 705 |
meshes[0] = new MeshPolygon(vertices0, bands0, 1, 1); |
706 | 706 |
meshes[0].setEffectAssociation(0, 1,0); |
... | ... | |
708 | 708 |
meshes[1].setEffectAssociation(0, 2,0); |
709 | 709 |
meshes[2] = meshes[0].copy(true); |
710 | 710 |
meshes[2].setEffectAssociation(0, 4,0); |
711 |
meshes[3] = new MeshPolygon(vertices1, bands1, 0, 0);
|
|
711 |
meshes[3] = new MeshPolygon(vertices1, bands1, 1, 1);
|
|
712 | 712 |
meshes[3].setEffectAssociation(0, 8,0); |
713 | 713 |
meshes[4] = meshes[3].copy(true); |
714 | 714 |
meshes[4].setEffectAssociation(0,16,0); |
Also available in: Unified diff
Progress with the Kilominx - rotations.