Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change GL_QUADS to GL_TRIANGLES #55

Closed
boskee opened this issue Apr 12, 2013 · 2 comments
Closed

Change GL_QUADS to GL_TRIANGLES #55

boskee opened this issue Apr 12, 2013 · 2 comments

Comments

@boskee
Copy link
Owner

boskee commented Apr 12, 2013

We should render blocks using GL_TRIANGLES instead of GL_QUADS, because:

  1. With GL_TRIANGLES we will be able to render flowers, potatoes, carrots etc. correctly (their textures should be drawn diagonally inside the block)
  2. GL_QUADS is deprecated in OpenGL 3
@BertrandBordage
Copy link
Collaborator

👍

@BertrandBordage
Copy link
Collaborator

1 is not relevant. See ad69c1a.
2 is relevant, but causes problems with the "focused cube".

@boskee boskee closed this as completed Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants