I don't know why the wiki of op开发者_JS百科engl.org says "gluProject" in title but in the code is "glhProject". Any differences?
It uses glh
because the person who wrote that Wiki page wrote the glh
library. And technically, it's not accurate, since those are not how gluProject and gluUnproject are implemented. I'm strongly considering deleting this page from the wiki, so thanks for pointing it out.
They just renamed it so the symbols don't clash on the off-chance you still #include <GL/GLU.h>
, perhaps for mipmap generation.
精彩评论