A simple particle system in C++/OpenGL