Revision 82f297f2
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java | ||
---|---|---|
298 | 298 |
int variant = 1; |
299 | 299 |
|
300 | 300 |
InitData data = new InitData(new int[] {2,3,2}); |
301 |
TwistyObject puzzle = new TwistyCuboid(data,MESH_NICE,MODE_NORM,quat,move,scale,null);
|
|
301 |
TwistyObject puzzle = new TwistyCuboid(MESH_NICE,MODE_NORM,quat,move,scale,data,null);
|
|
302 | 302 |
|
303 | 303 |
ObjectShape shape = puzzle.getObjectShape(variant); |
304 | 304 |
ObjectFaceShape face = puzzle.getObjectFaceShape(variant); |
Also available in: Unified diff
Introduce InitAssets. We'll use this later to pass on references to the tablebase file to the TwistyObject (so that it can use this for perfect scrambling)