Function Mesh.prepareVAO
Prepares OpenGL VAO and VBOs for rendering the mesh. Uploads vertex, normal, texcoord, and index data to the GPU. Sets up attribute pointers and enables rendering.
void prepareVAO();
Prepares OpenGL VAO and VBOs for rendering the mesh. Uploads vertex, normal, texcoord, and index data to the GPU. Sets up attribute pointers and enables rendering.
void prepareVAO();