Revision b3c9061a
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/TwistyDino.java | ||
---|---|---|
250 | 250 |
int[] bandIndexes = new int[] { 0,0,1,1 }; |
251 | 251 |
float[][] corners = new float[][] { {0.07f,0.40f}, {0.05f,0.30f} }; |
252 | 252 |
int[] cornerIndexes = new int[] { 0,0,1,1 }; |
253 |
float[][] centers = new float[][] { {0.0f, -0.75f, -0.75f} }; |
|
254 |
int[] centerIndexes = new int[] { 0,0,0,0 }; |
|
253 | 255 |
|
254 | 256 |
FactoryCubit factory = FactoryCubit.getInstance(); |
255 | 257 |
|
... | ... | |
257 | 259 |
mMeshes[0] = factory.createRoundedSolid(VERTICES, VERT_INDEXES, |
258 | 260 |
bands, bandIndexes, |
259 | 261 |
corners, cornerIndexes, |
262 |
centers, centerIndexes, |
|
260 | 263 |
getNumCubitFaces() ); |
261 | 264 |
} |
262 | 265 |
|
Also available in: Unified diff
New Cubit Engine: add adjustable centers.