simple opengl engine written in D