Revision 0fd3ac1f
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/magic/RubikRenderer.java | ||
---|---|---|
38 | 38 |
|
39 | 39 |
public class RubikRenderer implements GLSurfaceView.Renderer, EffectListener |
40 | 40 |
{ |
41 |
public static final float CAMERA_DISTANCE = 0.6f; // 0.6 of the length of max(scrHeight,scrWidth)
|
|
41 |
static final float CAMERA_DISTANCE = 0.6f; // 0.6 of the length of min(scrHeight,scrWidth)
|
|
42 | 42 |
public static final int TEXTURE_SIZE = 600; |
43 | 43 |
|
44 | 44 |
private RubikSurfaceView mView; |
... | ... | |
238 | 238 |
|
239 | 239 |
if( solved && !mIsSolved ) |
240 | 240 |
{ |
241 |
mCanDrag = false;
|
|
241 |
mCanDrag = true;
|
|
242 | 242 |
mCanRotate = false; |
243 | 243 |
mCanUI = false; |
244 | 244 |
doEffectNow( BaseEffect.Type.WIN ); |
Also available in: Unified diff
Making the Dialogs more consistent.