android - Texture Image Got Mirrored In OpenGl -


i new opengl.iam trying show image texture drawable.image show got mirrored. used vetices , texture cords follows.help me solve problem

    float[] vertices = new float[] {             -.5f, .5f, 0,             .5f, .5f, 0,             .5f, -.5f, 0,             -.5f, -.5f, 0     };     float[] texturecoords = new float[] {             1, 0, 0, 0, 0, 1, 1, 1     }; 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -