Click here to Skip to main content
15,893,722 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in this program we can design a polyline using the dda algorithm then a single point when n=1 and draw the polyline using the single point

What I have tried:

I havetried but error getting using glvertex and gl begin function I have tried
Posted
Updated 8-Mar-19 19:51pm
Comments
Rick York 8-Mar-19 21:16pm    
Do you have a question? You have made two statements but you have not asked a question. It is easier for us to help you with your code when you post it.
[no name] 9-Mar-19 0:07am    
Homework.

1 solution

Your "question" was phrased very poorly but we did get a hint from the word glvertex.

Here are two articles on OpenGL that could be helpful : 50 OpenGL Win32 Projects in One[^] and 50 OpenGL MFC Projects in One[^] and there are other here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900