OpenGL

Hi!

Does anyone know an opengl exporter plugin for Blender, that exports openGL codes from the meshes?
for example like this:

    glBegin(GL_TRIANGLES);
        glNormal3f(0, -1, 0);
        glVertex3f(-2000, 0, -2000);
        glVertex3f(2000, 0, -2000);
        glVertex3f(2000, 0, 2000);
        glVertex3f(-2000, 0, -2000);
        glVertex3f(-2000, 0, 2000);
        glVertex3f(2000, 0, 2000);
    glEnd();

This might be interesting: