I have created a rectangel in OpenGl using Arrays. Here are the Arrays:
float[] vertices = {
-0.5f, 0.5f, 0f,
-0.5f, -0.5f, 0f,
0.5f, -0.5f, 0f,
0.5f, 0.5f, 0f,
};
int[] indcies = {
0,1,3,
3,1,2
};
float[] texture_Coord ={
0,0,
0,1,
1,1,
1,0
};
How should i modify my array to create a simple circle can you please help ?