Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Mesh::Draw()
- {
- glBindVertexArray(this->VaoId[0]);
- //glDrawElements(GL_TRIANGLES, this->indicesSize, GL_UNSIGNED_INT, NULL);
- glDrawElementsInstanced(GL_TRIANGLES, this->indicesSize, GL_UNSIGNED_INT, NULL,1000);
- glBindVertexArray(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement