Project

General

Profile

« Previous | Next » 

Revision e7a4ef16

Added by Leszek Koltunski over 7 years ago

Minor stuff

View differences:

src/main/java/org/distorted/examples/matrix3d/Matrix3DRenderer.java
138 138
   
139 139
    public void onDrawFrame(GL10 glUnused) 
140 140
      {
141
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
142 141
      GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
143
      
144 142
      mCube.draw(System.currentTimeMillis());
145 143
      }
146 144

  
......
157 155
    
158 156
    public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
159 157
      {
158
      GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
159

  
160 160
      InputStream is = mView.getContext().getResources().openRawResource(R.raw.grid);
161 161
      Bitmap bitmap;
162 162
        

Also available in: Unified diff