Revision b3c9061a
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistySkewb.java | ||
---|---|---|
495 | 495 |
int[] bandIndexes = new int[] { 0,0,1,1 }; |
496 | 496 |
float[][] corners = new float[][] { {0.07f,0.20f}, {0.02f,0.30f} }; |
497 | 497 |
int[] cornerIndexes = new int[] { 0,0,1,1 }; |
498 |
float[][] centers = new float[][] { {0.0f, -0.25f, -0.25f} }; |
|
499 |
int[] centerIndexes = new int[] { 0,0,0,0 }; |
|
498 | 500 |
|
499 | 501 |
FactoryCubit factory = FactoryCubit.getInstance(); |
500 |
|
|
501 | 502 |
factory.createNewFaceTransform(VERTICES_EDGE,VERT_INDEXES_EDGE); |
502 | 503 |
mMeshes[1] = factory.createRoundedSolid(VERTICES_EDGE, VERT_INDEXES_EDGE, |
503 | 504 |
bands, bandIndexes, |
504 | 505 |
corners, cornerIndexes, |
506 |
centers, centerIndexes, |
|
505 | 507 |
getNumCubitFaces() ); |
506 | 508 |
} |
507 | 509 |
mesh = mMeshes[1].copy(true); |
Also available in: Unified diff
New Cubit Engine: add adjustable centers.