Project

General

Profile

« Previous | Next » 

Revision 80508ef5

Added by Leszek Koltunski over 7 years ago

Progress with AroundTheWorld

View differences:

src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java
27 27
import org.distorted.examples.R;
28 28
import org.distorted.library.Distorted;
29 29
import org.distorted.library.DistortedBitmap;
30
import org.distorted.library.DistortedCubes;
31 30
import org.distorted.library.DistortedObject;
32 31
import org.distorted.library.EffectTypes;
33
import org.distorted.library.type.Static1D;
34 32
import org.distorted.library.type.Static3D;
35 33

  
36 34
import java.io.IOException;
......
59 57
   
60 58
   public void onDrawFrame(GL10 glUnused) 
61 59
      {
62
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
60
      GLES20.glClearColor(0.2f, 0.2f, 0.2f, 1.0f);
63 61
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
64 62
     
65 63
      mObject.draw(System.currentTimeMillis());
......
109 107
        catch(IOException e) { }
110 108
        }
111 109

  
112

  
113 110
      mObject = new DistortedBitmap(bitmap.getWidth(),bitmap.getHeight(),30);
114 111
      mEffects = new AroundTheWorldEffectsManager(mObject);
115 112

  

Also available in: Unified diff