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)
protected void initVertexBuffers() { int one = 65536; int particleScale = 2 * one; int particleVertices[] = { // FRONT -particleScale, particleScale, 0, particleScale, particleScale, 0, -particleScale, -particleScale, 0, particleScale, -particleScale, 0 }; int aircraftScale = 32 * one; int aircraftVertices[] = { // FRONT -aircraftScale, aircraftScale, 0, aircraftScale, aircraftScale, 0, -aircraftScale, -aircraftScale, 0, aircraftScale, -aircraftScale, 0 }; int texCoords[] = { // FRONT 0, one, one, one, 0, 0, one, 0 }; int normals[] = { 0, 0, -one, 0, 0, -one, 0, 0, -one, 0, 0, -one }; short indices[] = { 0, 2, 1, 2, 3, 1 }; // Buffers to be passed to gl*Pointer() functions must be direct, i.e., // they must be placed on the native heap where the garbage collector // cannot move them. // // Buffers with multi-byte data types (e.g., short, int, float) must // have their byte order set to native order ByteBuffer vbb = ByteBuffer.allocateDirect(particleVertices.length * 4); vbb.order(ByteOrder.nativeOrder()); vertexBuffer = vbb.asIntBuffer(); vertexBuffer.put(particleVertices); vertexBuffer.position(0); // ... ByteBuffer vbb2 = ByteBuffer.allocateDirect(aircraftVertices.length * 4); vbb2.order(ByteOrder.nativeOrder()); vertex2Buffer = vbb2.asIntBuffer(); vertex2Buffer.put(aircraftVertices); vertex2Buffer.position(0); // ... ByteBuffer tbb = ByteBuffer.allocateDirect(texCoords.length * 4); tbb.order(ByteOrder.nativeOrder()); textureBuffer = tbb.asIntBuffer(); textureBuffer.put(texCoords); textureBuffer.position(0); // ... ByteBuffer nbb = ByteBuffer.allocateDirect(normals.length * 4); nbb.order(ByteOrder.nativeOrder()); normalBuffer = nbb.asIntBuffer(); normalBuffer.put(normals); normalBuffer.position(0); ByteBuffer ibb = ByteBuffer.allocateDirect(indices.length * 2); ibb.order(ByteOrder.nativeOrder()); indexBuffer = ibb.asShortBuffer(); indexBuffer.put(indices); indexBuffer.position(0); }