Game Development Reference
In-Depth Information
glDrawElements(GL_TRIANGLES, numberOfVertices,
GL_UNSIGNED_BYTE, 0);
}
@end
Run the project, and you will see the red square box on the black screen, as shown in the
following screenshot:
Search WWH ::




Custom Search