使用单点使用dda算法实现折线函数 [英] Implement a polyline function using dda algorithm using single point
本文介绍了使用单点使用dda算法实现折线函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在这个程序中,我们可以使用dda算法设计折线,然后在n = 1时设计一个点,并使用单点绘制折线
我尝试了什么:
我已经尝试但是错误使用glvertex和gl开始功能我试过
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
推荐答案
你的问题措辞很差但我们确实从glvertex这个词得到了一个提示。
这里有两篇关于OpenGL的文章可能是帮助: 50个OpenGL Win32项目合二为一个 [ ^ ]和一个OpenGL MFC项目 [ ^ ]和还有其他的。
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.
这篇关于使用单点使用dda算法实现折线函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文