![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算机图形学
文章平均质量分 75
ljl704444903
这个作者很懒,什么都没留下…
展开
-
抛物样条曲线
最近写了很多的图形学方面的程序,给大家分享下。 源代码如下,需要opengl库函数的支持。 #include #include GLfloat bc=0.0001f; int sign=0; void drawparabola(GLfloat point[10][2],GLint num) { GLfloat px,py; GLint i=0;原创 2013-01-18 12:11:50 · 342 阅读 · 0 评论 -
逐点比较法画圆(opengl)
需要opengl库文件的支持,源码如下供大家参考 #include #include GLfloat cd=0.001f; void drawy(GLfloat X,GLfloat Y,GLfloat R) { int i=10000; GLfloat s; GLfloat x=R; GLfloat y=0.0f; GLflo原创 2013-01-18 11:56:59 · 986 阅读 · 0 评论