android - Rendering a square -
The following is not giving me the triangle sections, why do anyone know ?? // defined as ... addcube (2, -2, 1, -1, 10); AdCube (Float LX, Float Hx, Float Lee, Float HE, Flatz) {Final Float Array 1 [] = New Float [] {// Front Face Lex, LE, HZ, LX, High, HZ, HX, High, HZ , Hx, Lee, H.J.}; } // Draw as ... gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; Gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; Gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; Gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; Gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; Gl.glDrawArrays (GL10.GL_TRIANGLE_STRIP, E, 4); E = E + 4; I have tried to add gl.glDisable (GL10.GL_CULL_FACE); But it only puts the rest of the square in the foreground, I've included Drawing Methods ... Public Waste on Draffam (GL 10GL) {onDrawFrameCounter ++; Gl.glEnable (GL10.GL_TEXTURE_2D); Gl.glClear (GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); BindCameraTextu...