Revision ba740a0c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/effect/scramble/ScrambleEffectRotations.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
import java.util.Random; |
32 | 32 |
|
33 |
import static org.distorted.magic.RubikRenderer.NODE_MESH_SIZE;
|
|
33 |
import static org.distorted.magic.RubikRenderer.NODE_FBO_SIZE;
|
|
34 | 34 |
|
35 | 35 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
36 | 36 |
|
... | ... | |
78 | 78 |
|
79 | 79 |
mCubeEffects[0] = new MatrixEffectQuaternion(dq, new Static3D(0,0,0)); |
80 | 80 |
|
81 |
float Z = NODE_MESH_SIZE /3;
|
|
81 |
float Z = NODE_FBO_SIZE /3;
|
|
82 | 82 |
|
83 | 83 |
Dynamic3D d0 = new Dynamic3D(duration, 0.5f); |
84 | 84 |
d0.setMode(Dynamic.MODE_PATH); |
Also available in: Unified diff
Correct the Rubik app for the recent changes to the library's Node.