Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package Syco.glex; import android.content.Context; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.opengl.GLU; import android.opengl.GLSurfaceView.Renderer; public class myRenderer implements Renderer { private Square[] square=new Square[5]; private int[] p={-4,-2,0,2,4}; private final Context mc; private final int w; private final int h; private final float ww; private final float hh; private float angolo=0; public myRenderer(Context mc, int w, int h) { this.mc=mc; this.w=w; this.h=h; this.ww=((float)w)/10; this.hh=((float)h)/10; for(int i=0;i<5;i++) { square[i]=new Square(ww,hh); } } public void onSurfaceCreated(GL10 gl, EGLConfig config) { for(int i=0;i<5;i++) { square[i].loadGLTexture(gl, mc); } gl.glEnable(GL10.GL_TEXTURE_2D); gl.glClearColor(0.0f, 0.0f, 0.0f, 0.5f); gl.glShadeModel(GL10.GL_SMOOTH); gl.glClearDepthf(1.0f); gl.glEnable(GL10.GL_DEPTH_TEST); gl.glDepthFunc(GL10.GL_LEQUAL); gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_NICEST); } public void onDrawFrame(GL10 gl) { gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); gl.glLoadIdentity(); for(int i=0;i<5;i++) { gl.glPushMatrix(); gl.glTranslatef((float)(p[i]*ww),(float)(4*hh),-600.0f); gl.glRotatef(angolo, 0.0f, 1.0f, 0.0f); square[i].draw(gl); gl.glPopMatrix(); } angolo+=2; angolo%=360; } public void onSurfaceChanged(GL10 gl, int width, int height) { gl.glViewport(0, 0, width, height); gl.glMatrixMode(GL10.GL_PROJECTION); GLU.gluPerspective(gl, 45.0f, (float)width/(float)height, 1.0f, 700.0f); gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glLoadIdentity(); } }