added object wrappers for OpenGL primitives