Revision c187cb69
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyRedi.java | ||
---|---|---|
283 | 283 |
int[] cornerIndices = new int[] { -1,0,-1,0,0,0,-1,-1 }; |
284 | 284 |
float[][] centers = new float[][] { { 0.0f, 0.0f, 0.0f} }; |
285 | 285 |
int[] centerIndices = new int[] { -1,0,-1,0,0,0,-1,-1 }; |
286 |
return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null); |
|
286 |
return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null, 3);
|
|
287 | 287 |
} |
288 | 288 |
else |
289 | 289 |
{ |
... | ... | |
315 | 315 |
int[] cornerIndices = new int[] { 0,0,-1,-1,-1,-1,-1,-1 }; |
316 | 316 |
float[][] centers = new float[][] { { 0.0f,-0.75f,-0.75f} }; |
317 | 317 |
int[] centerIndices = new int[] { 0,0,-1,-1,-1,-1,-1,-1 }; |
318 |
return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null); |
|
318 |
return new ObjectShape(vertices,vert_indices,bands,bandIndices,corners,cornerIndices,centers,centerIndices,getNumCubitFaces(), null, 2);
|
|
319 | 319 |
} |
320 | 320 |
} |
321 | 321 |
|
Also available in: Unified diff
Initial commit