简体   繁体   中英

What are the imports for opengl types?

I can't find the imports anywhere on the internet. Every time I try to use one of the types it just gives me an error, and eclipse doesn't seem to ever suggest to import anything from the opengl libraries (I'm using the lwjgl library and the slick library which contains opengl, although I'm not sure if that would cause eclipse to not suggest imports from it).

I don't know why no one just told me, but apparently opengl types aren't used by you in java. Instead of using gluint or something in java, you just use the normal int and opengl takes care of the types for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM