def update(self): if render.getStereoEye() == LEFT_EYE: self._image_offset = 0.0 else: self._image_offset = 0.5 self._shader()
def _preDrawSetup(self): stereo_eye = render.getStereoEye() if stereo_eye == LEFT_EYE: self.loop()