Revision 470820a7
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/objects/RubikCube.java | ||
---|---|---|
232 | 232 |
mMesh.apply(effect12); |
233 | 233 |
mMesh.apply(effect13); |
234 | 234 |
mMesh.apply(effect14); |
235 |
|
|
236 |
mMesh.mergeEffComponents(); |
|
235 | 237 |
} |
236 | 238 |
|
237 |
return mMesh.copy(false);
|
|
239 |
return mMesh.copy(true);
|
|
238 | 240 |
} |
239 | 241 |
|
240 | 242 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Begin porting RubikCube to the new SingleMesh library. This will make rendering much faster - e.g. in case of Cube 5, instead of 98 renders of individual Cubits, there will be one render of the whole Mesh.