From 80176b7f79cc55776247822158306c42bded77b5 Mon Sep 17 00:00:00 2001 From: pin Date: Thu, 28 Feb 2013 12:20:25 +0000 Subject: [PATCH] Affichage comme dans un miroir. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@414 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/kinect/pygamedisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kinect/pygamedisplay.py b/src/kinect/pygamedisplay.py index e5b1e59..79eda18 100755 --- a/src/kinect/pygamedisplay.py +++ b/src/kinect/pygamedisplay.py @@ -52,7 +52,7 @@ def main() : rgbImg = capture_rgb(imgGene) sur.blit(rgbImg, (0, 0)) - screen.blit(sur, (0, 0)) + screen.blit(pygame.transform.flip(sur, True, False), (0, 0)) pygame.display.flip() if __name__ == "__main__" : -- 2.20.1