cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
539 stars 59 forks source link

Forward declaration header #265

Closed mrzzzrm closed 9 years ago

mrzzzrm commented 10 years ago

What do you think of providing a header that includes base/ref_ptr.h and forward declarations for all classes in globjects, as a sort of entry point to declare classes that use globjects (and thus hold ref_ptrs to various globjects)? It gets kinda redundant after a while in larger projects to have the same forward declaration in a lot of header files throughout a project.

glm provides something like that for example (http://glm.g-truc.net/0.9.5/api/a00041_source.html).