I am wondering if there is a way to update and move a triangle in OpenGL ES using the vertices. These are the vertices of my triangle:
// in counterclockwise order :
static float triangleCoords[] = {
0.0f, 0.622008459f, 0.0f, // top
-0.5f, -0.311004243f, 0.0f, // bottom left
0.5f, -0.311004243f, 0.0f // bottom right
};
I wanted to know if it was possible to move the triangle without the matrices.
Thank you!