Project

General

Profile

« Previous | Next » 

Revision 8a40abf4

Added by Leszek Koltunski about 5 years ago

Rubk App: improve 4 buttons in the top.

View differences:

src/main/java/org/distorted/examples/rubik/RubikRenderer.java
38 38
{
39 39
    private static final int NUM_CUBES = 4;
40 40
    private static final float CUBE_SCREEN_RATIO = 0.5f;
41
    private static final float CAMERA_DISTANCE   = 0.5f;  // 0.5 of the length of max(scrHeight,scrWidth)
41
    private static final float CAMERA_DISTANCE   = 0.6f;  // 0.6 of the length of max(scrHeight,scrWidth)
42 42

  
43 43
    private RubikSurfaceView mView;
44 44
    private DistortedScreen mScreen;

Also available in: Unified diff