Project

General

Profile

« Previous | Next » 

Revision 3873e8e6

Added by Leszek Koltunski over 7 years ago

Minor

View differences:

src/main/java/org/distorted/examples/mirror/MirrorRenderer.java
43 43

  
44 44
class MirrorRenderer implements GLSurfaceView.Renderer
45 45
{
46
   private static final float MIRROR_SCALE = 0.60f;  // each next mirror will be 60% of the size or the previous
46
   private static final float MIRROR_SCALE = 0.70f;  // each next mirror will be 70% of the size or the previous
47 47
   private static final float HEAD_SCALE   = 0.30f;  // Head's height will be 30% of the height of the mirror
48 48
   private static final float MIRROR_MARGIN= 0.11f;  // The frame of the mirror takes up 11% of its width
49
   private static final float MIRROR_MOVE  = 0.13f;  // Each next mirror is moved to the right by 13% of
49
   private static final float MIRROR_MOVE  = 0.12f;  // Each next mirror is moved to the right by 12% of
50 50
                                                     // the length of the previous one
51 51

  
52 52
   private GLSurfaceView mView;

Also available in: Unified diff