Revision 7381193e
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/object/RubikObject.java | ||
---|---|---|
121 | 121 |
|
122 | 122 |
attach(mCubits[i].mNode); |
123 | 123 |
} |
124 |
|
|
125 |
setProjection(30, 0.1f); |
|
124 | 126 |
} |
125 | 127 |
|
126 | 128 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
src/main/java/org/distorted/object/RubikObjectList.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
public enum RubikObjectList |
31 | 31 |
{ |
32 |
CUBE2 ( 1, R.drawable.cube2, RubikCube.class, RubikCubeMovement.class),
|
|
33 |
CUBE3 ( 2, R.drawable.cube3, RubikCube.class, RubikCubeMovement.class),
|
|
34 |
CUBE4 ( 3, R.drawable.cube4, RubikCube.class, RubikCubeMovement.class),
|
|
35 |
CUBE5 ( 4, R.drawable.cube5, RubikCube.class, RubikCubeMovement.class),
|
|
32 |
CUBE2 ( 2, R.drawable.cube2, RubikCube.class, RubikCubeMovement.class),
|
|
33 |
CUBE3 ( 3, R.drawable.cube3, RubikCube.class, RubikCubeMovement.class),
|
|
34 |
CUBE4 ( 4, R.drawable.cube4, RubikCube.class, RubikCubeMovement.class),
|
|
35 |
CUBE5 ( 5, R.drawable.cube5, RubikCube.class, RubikCubeMovement.class),
|
|
36 | 36 |
; |
37 | 37 |
|
38 | 38 |
public static final int LENGTH = values().length; |
src/main/java/org/distorted/object/RubikPyraminx.java | ||
---|---|---|
196 | 196 |
|
197 | 197 |
float getScreenRatio() |
198 | 198 |
{ |
199 |
return 0.7f;
|
|
199 |
return 0.82f;
|
|
200 | 200 |
} |
201 | 201 |
|
202 | 202 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
1. library: new API DistortedNode.setProjection()
2. cube: adjustments for Pyraminx.