gluPerspective 可以有6个参数吗?gluPerspective 可以有6个参数吗?我看别人写的代码, 有这么一行:C/C++ co
gluPerspective 可以有6个参数吗?
gluPerspective 可以有6个参数吗?
我看别人写的代码, 有这么一行:
- C/C++ code
gluPerspective(65,(float)glutGet(GLUT_WINDOW_WIDTH)/(float)glutGet(GLUT_WINDOW_HEIGHT),pow((float)abs(settings->cam[1]), (float)0.75)+1.0, pow((float)abs(settings->cam[1]), (float)1.65)+5000);
[解决办法]
这不就是4各参数吗?
你看到逗号就觉得是一个参数了?
仔细读
