开发者

What are the differences between gluProject and glhProject?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜