java Programming Glossary: gl10.gl_triangles
Android getOrientation() method returns bad results http://stackoverflow.com/questions/10192057/android-getorientation-method-returns-bad-results 3 GL10.GL_FLOAT 0 _vertexBuffer0 gl.glDrawElements GL10.GL_TRIANGLES _numVertices GL10.GL_UNSIGNED_SHORT _indexBuffer gl.glColor4f.. 3 GL10.GL_FLOAT 0 _vertexBuffer1 gl.glDrawElements GL10.GL_TRIANGLES _numVertices GL10.GL_UNSIGNED_SHORT _indexBuffer gl.glColor4f.. 3 GL10.GL_FLOAT 0 _vertexBuffer2 gl.glDrawElements GL10.GL_TRIANGLES _numVertices GL10.GL_UNSIGNED_SHORT _indexBuffer gl.glColor4f..
Loading Obj files in Libgdx not working on android http://stackoverflow.com/questions/7536307/loading-obj-files-in-libgdx-not-working-on-android rotateZ rotateZ 5.0f rotateZ model.render GL10.GL_TRIANGLES if Gdx.input.justTouched lastTouchX Gdx.input.getX lastTouchY.. it on android I get a NullPointerException at model.render GL10.GL_TRIANGLES I've tried placing torus.obj just inside assets and within assets.. this question I assume you are referring to model.render GL10.GL_TRIANGLES . I believe you have two problems. First model is null because..
|