Revision c65d5889
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/helpers/FactoryBandagedPyraminx.java | ||
---|---|---|
808 | 808 |
|
809 | 809 |
mX = x; |
810 | 810 |
|
811 |
// TODO: mY & mZ ?? |
|
811 | 812 |
|
812 | 813 |
dX = mX/2.0f; |
813 | 814 |
dY = mY/2.0f; |
... | ... | |
903 | 904 |
|
904 | 905 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
905 | 906 |
|
906 |
public MeshBase createMesh(int variant, float[] pos, int x, boolean iconMode, boolean roundCorners)
|
|
907 |
public MeshBase createMesh(float[] pos, int x, boolean iconMode, boolean roundCorners) |
|
907 | 908 |
{ |
908 | 909 |
prepare(1,x); |
909 | 910 |
ObjectShape shape = createIrregularShape(0,pos); |
Also available in: Unified diff
generalize FactoryBandagedCuboid: start removing 'cuboidal' assumptions from it.