The OpenGL Objects Wrapper Library (globjects) provides an object oriented C++ interface for OpenGL's programmable pipeline (3.0+). globjects is a cross-platform library licenced under the MIT license.
The current pre-release is globjects-v0.3.2. To find out more about globjects and how to use it, check out our wiki.
The documentation is regularly generated and can be found here.
The following dev-libraries and programs need to be provided for correct CMake configuration:
- C++11 compatible compiler (e.g. gcc >=4.7, MSVC >=2013)
- CMake (>=2.8.9, better 2.8.12): http://www.cmake.org/
- OpenGL C++ Bindings (glbinding >=1.0.0): https://github.com/hpicgs/glbinding
- OpenGL Mathematics (GLM >=0.9.4): http://glm.g-truc.net/, https://github.com/g-truc/glm
- Window and Context creation (GLFW 3.0): http://www.glfw.org/ (optional, needed for examples)
If you are contributing to this project, please keep the following notes in mind:
- Add your name and email to the AUTHORS file.
- Follow coding conventions according to google's C++ Style Guide.
- Commits should provide a meaningful message, which uses the imperative, present tense: "change", not "changed" nor "changes", AND start with a capital letter.
- Commits should always refer to an issue: use
#xxx
,fix #xxx
, orclose #xxx
. - Pull Requests are reviewed by at least one other developer on another platform.
- Use lazy initialization as often as possible for time consuming tasks.
- Member Variables always start with
m_
,g_
, ands_
(e.g.,m_member
,g_global
, ands_static
).. - Interface or abstract class names always start with Abstract (e.g.,
AbstractArray
). - Enforce strict include sequence: cpp-related header, std, glm, glbinding, globjects.