带OPENGL的计算机图形 [英] COMPUTER GRAPHICS WITH OPENGL

查看:70
本文介绍了带OPENGL的计算机图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Error in run opengl program: undefined identifier Glfloat
After changing Glfloat to float operation success but the color of the graphic  is not correct



推荐答案

而不是随意更改类型,你应该包括适当的头文件( gl.h )以修复错误。
Instead of arbitrarly change the type, you should include the appropirate header file (gl.h) in order to fix the error.


这篇关于带OPENGL的计算机图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆