Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不知道为什么 opengl.org 的wiki在标题中说“gluProject”,但在代码中是“glhProject”。有什么不同吗?
它之所以使用glh,是因为编写该 Wiki 页面的人编写了该glh库。而且从技术上讲,它并不准确,因为这些不是 gluProject 和 gluUnproject 的实现方式。我强烈考虑从 wiki 中删除此页面,因此感谢您指出。
glh
他们只是重命名了它,这样符号就不会在你仍然存在的情况下发生冲突#include <GL/GLU.h>,也许是为了生成 mipmap。
#include <GL/GLU.h>