Revision ba740a0c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikObjectList.java | ||
---|---|---|
25 | 25 |
import org.distorted.library.type.Static4D; |
26 | 26 |
import org.distorted.magic.R; |
27 | 27 |
|
28 |
import static org.distorted.magic.RubikRenderer.NODE_MESH_SIZE; |
|
29 |
|
|
30 | 28 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
31 | 29 |
|
32 | 30 |
public enum RubikObjectList |
... | ... | |
88 | 86 |
DistortedEffects effects = new DistortedEffects(); |
89 | 87 |
MeshRectangles mesh = new MeshRectangles(20,20); // mesh of the node, not of the cubits |
90 | 88 |
|
91 |
mesh.setStretch(NODE_MESH_SIZE,NODE_MESH_SIZE,0); |
|
92 |
|
|
93 | 89 |
return new RubikCube(mObjectSize, quatCur, quatAcc, texture, mesh, effects); |
94 | 90 |
} |
95 | 91 |
|
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.