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

add glBegin in glut #6

Open
nerososft opened this issue Jun 26, 2019 · 1 comment
Open

add glBegin in glut #6

nerososft opened this issue Jun 26, 2019 · 1 comment

Comments

@nerososft
Copy link
Member

No description provided.

@nerososft
Copy link
Member Author

glBegin(GL_POINTS)
GL_LINES
TRIANGLES
FILL_TRANGLE

initialize vertics list. then use glVertex3f add to list. and then use glEnd. write to buffer .finally use glFlush or glSwapBuffer to flip sdl buffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant