Revision 869a4528
Added by Leszek Koltunski over 5 years ago
| src/main/java/org/distorted/object/RubikObjectList.java | ||
|---|---|---|
| 86 | 86 |
DistortedEffects effects = new DistortedEffects(); |
| 87 | 87 |
MeshRectangles mesh = new MeshRectangles(20,20); // mesh of the node, not of the cubits |
| 88 | 88 |
|
| 89 |
return new RubikPyraminx(mObjectSize, quatCur, quatAcc, texture, mesh, effects);
|
|
| 89 |
return new RubikCube(mObjectSize, quatCur, quatAcc, texture, mesh, effects);
|
|
| 90 | 90 |
} |
| 91 | 91 |
|
| 92 | 92 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| ... | ... | |
| 94 | 94 |
|
| 95 | 95 |
public RubikObjectMovement getObjectMovementClass() |
| 96 | 96 |
{
|
| 97 |
return new RubikPyraminxMovement();
|
|
| 97 |
return new RubikCubeMovement();
|
|
| 98 | 98 |
} |
| 99 | 99 |
} |
Also available in: Unified diff
Fix the memory test - we need to run one thing on the Graphics thread!