def __init__(self, scene): """Sets up the core functionality we need to begin rendering. This includes the OpenGL configuration, the window, the viewport, the event handler and update loop registration. """ super(BaseApplication, self).__init__() self.fps_monitor = FPS_Monitor() self.scene = scene