Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import Blender.BGL as GL
from scocca.frontend.blender.application import *
from scocca.frontend.blender.elements import *
except ImportError:
import OpenGL.GL as GL
from scocca.frontend.pyopengl.application import *
from scocca.frontend.pyopengl.elements import *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment