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/quaternion/QuaternionRenderer.java
86 86
   
87 87
  public void onDrawFrame(GL10 glUnused) 
88 88
    {
89
    GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
90 89
    GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
91
      
92 90
    mCube.draw(System.currentTimeMillis());
93 91
    }
94 92

  
......
118 116
    
119 117
  public void onSurfaceCreated(GL10 glUnused, EGLConfig config) 
120 118
    {
119
    GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
120

  
121 121
    InputStream is = mView.getContext().getResources().openRawResource(R.raw.grid);
122 122
    Bitmap bitmap;
123 123
        

Also available in: Unified diff