Project

General

Profile

« Previous | Next » 

Revision 6eb5eec2

Added by Leszek Koltunski about 7 years ago

A Lot of fixes for the issues uncovered by Olimpic.

Still at least 1 known issue: sometimes, when we re-add a Surface, some garbage pops up on the screen for a brief split second. Visible in Olimpic.

View differences:

src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java
48 48
class OlimpicRenderer implements GLSurfaceView.Renderer 
49 49
{
50 50
   private static final int LEAF_SIZE = 100;
51
   private static final int NUM_CIRCLES = 2;
52
   private static final int NUM_LEAVES  = 2;
51
   private static final int NUM_CIRCLES = 5;
52
   private static final int NUM_LEAVES  = 8;
53 53
   
54 54
   private GLSurfaceView mView;
55 55
   private DistortedNode mRoot;
......
66 66

  
67 67
   void pressed(int color, int number, boolean checked)
68 68
     {
69
     android.util.Log.d("Olimpic","Color: "+color+" number:"+number+" checked: "+checked);
70

  
71 69
     if( color>=0 && color<NUM_CIRCLES )
72 70
       {
73 71
       if( number==0 )

Also available in: Unified diff