added basic opengl for drawing particles