Revision 97c012ae
Added by Leszek Koltunski almost 5 years ago
src/main/java/org/distorted/object/RubikCube.java | ||
---|---|---|
32 | 32 |
import org.distorted.library.main.DistortedNode; |
33 | 33 |
import org.distorted.library.main.DistortedTexture; |
34 | 34 |
import org.distorted.library.mesh.MeshCubes; |
35 |
import org.distorted.library.mesh.MeshFlat;
|
|
35 |
import org.distorted.library.mesh.MeshRectangles;
|
|
36 | 36 |
import org.distorted.library.message.EffectListener; |
37 | 37 |
import org.distorted.library.type.Dynamic1D; |
38 | 38 |
import org.distorted.library.type.Static1D; |
... | ... | |
173 | 173 |
|
174 | 174 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
175 | 175 |
|
176 |
RubikCube(int size, Static4D quatCur, Static4D quatAcc, DistortedTexture texture, MeshFlat mesh, DistortedEffects effects)
|
|
176 |
RubikCube(int size, Static4D quatCur, Static4D quatAcc, DistortedTexture texture, MeshRectangles mesh, DistortedEffects effects)
|
|
177 | 177 |
{ |
178 | 178 |
super(size,quatCur,quatAcc,texture,mesh,effects); |
179 | 179 |
|
src/main/java/org/distorted/object/RubikObject.java | ||
---|---|---|
29 | 29 |
import org.distorted.library.main.DistortedEffects; |
30 | 30 |
import org.distorted.library.main.DistortedNode; |
31 | 31 |
import org.distorted.library.main.DistortedTexture; |
32 |
import org.distorted.library.mesh.MeshFlat;
|
|
32 |
import org.distorted.library.mesh.MeshRectangles;
|
|
33 | 33 |
import org.distorted.library.message.EffectListener; |
34 | 34 |
import org.distorted.library.type.Static1D; |
35 | 35 |
import org.distorted.library.type.Static3D; |
... | ... | |
60 | 60 |
|
61 | 61 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
62 | 62 |
|
63 |
RubikObject(int size, Static4D quatCur, Static4D quatAcc, DistortedTexture texture, MeshFlat mesh, DistortedEffects effects)
|
|
63 |
RubikObject(int size, Static4D quatCur, Static4D quatAcc, DistortedTexture texture, MeshRectangles mesh, DistortedEffects effects)
|
|
64 | 64 |
{ |
65 | 65 |
super(texture,effects,mesh); |
66 | 66 |
|
src/main/java/org/distorted/object/RubikObjectList.java | ||
---|---|---|
21 | 21 |
|
22 | 22 |
import org.distorted.library.main.DistortedEffects; |
23 | 23 |
import org.distorted.library.main.DistortedTexture; |
24 |
import org.distorted.library.mesh.MeshFlat;
|
|
24 |
import org.distorted.library.mesh.MeshRectangles;
|
|
25 | 25 |
import org.distorted.library.type.Static4D; |
26 | 26 |
import org.distorted.magic.R; |
27 | 27 |
|
... | ... | |
90 | 90 |
{ |
91 | 91 |
DistortedTexture texture = new DistortedTexture(TEXTURE_SIZE,TEXTURE_SIZE); |
92 | 92 |
DistortedEffects effects = new DistortedEffects(); |
93 |
MeshFlat mesh= new MeshFlat(20,20);
|
|
93 |
MeshRectangles mesh = new MeshRectangles(20,20);
|
|
94 | 94 |
|
95 | 95 |
return new RubikCube(mObjectSize, quatCur, quatAcc, texture, mesh, effects); |
96 | 96 |
} |
Also available in: Unified diff
Rename MeshFlat MeshRectangles.