Revision 8fa00d2c
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/effects/objectchange/ObjectChangeEffectRound.java | ||
---|---|---|
36 | 36 |
{ |
37 | 37 |
float X = NODE_FBO_SIZE /3; |
38 | 38 |
|
39 |
mCubeEffectPosition[0] = new int[] {6,7};
|
|
39 |
mCubeEffectPosition[0] = new int[] {3,4};
|
|
40 | 40 |
mCubeEffects[0] = new Effect[mCubeEffectPosition[0].length]; |
41 | 41 |
|
42 | 42 |
Dynamic3D d0 = new Dynamic3D(duration/2, 0.5f); |
... | ... | |
60 | 60 |
{ |
61 | 61 |
float X = NODE_FBO_SIZE /3; |
62 | 62 |
|
63 |
mCubeEffectPosition[1] = new int[] {6,7};
|
|
63 |
mCubeEffectPosition[1] = new int[] {3,4};
|
|
64 | 64 |
mCubeEffects[1] = new Effect[mCubeEffectPosition[1].length]; |
65 | 65 |
|
66 | 66 |
Dynamic3D d0 = new Dynamic3D(duration/2, 0.5f); |
src/main/java/org/distorted/effects/objectchange/ObjectChangeEffectScale.java | ||
---|---|---|
30 | 30 |
{ |
31 | 31 |
public int createEffectsPhase0(int duration) |
32 | 32 |
{ |
33 |
mCubeEffectPosition[0] = new int[] {6};
|
|
33 |
mCubeEffectPosition[0] = new int[] {3};
|
|
34 | 34 |
mCubeEffects[0] = new Effect[mCubeEffectPosition[0].length]; |
35 | 35 |
|
36 | 36 |
Dynamic3D d0 = new Dynamic3D(duration/2, 0.5f); |
... | ... | |
45 | 45 |
|
46 | 46 |
public int createEffectsPhase1(int duration) |
47 | 47 |
{ |
48 |
mCubeEffectPosition[1] = new int[] {6};
|
|
48 |
mCubeEffectPosition[1] = new int[] {3};
|
|
49 | 49 |
mCubeEffects[1] = new Effect[mCubeEffectPosition[1].length]; |
50 | 50 |
|
51 | 51 |
Dynamic3D d0 = new Dynamic3D(duration/2, 0.5f); |
Also available in: Unified diff
More progreess porting RubikCube.