import of opengl console prototype from twinklebear