Python 3/PyGame/Game_approaches/camera_in_a_room.py
def rotateAll(self, axis, theta):
        """ Rotate all thing about their centre, along a given axis by a given angle. """
        rotateFunction = 'rotate' + axis
        for thing in self.objects.values():
            centre = thing.get_centre() if thing.containter_center == None else thing.containter_center
            getattr(thing, rotateFunction)(centre, theta, self.sightline)
 Rotate all thing about their centre, along a given axis by a given angle. 
Rotate all thing about their centre, along a given axis by a given angle.
Rotate all thing about their centre along a given axis by a given angle .
def rotateAll(self, axis, theta):
        rotateFunction = 'rotate' + axis
        for thing in self.objects.values():
            centre = thing.get_centre() if thing.containter_center == None else thing.containter_center
            getattr(thing, rotateFunction)(centre, theta, self.sightline)
def rotateAll ( self , axis , theta ) : rotateFunction = 'rotate' + axis for thing in self . objects . values ( ) : centre = thing . get_centre ( ) if thing . containter_center == None else thing . containter_center getattr ( thing , rotateFunction ) ( centre , theta , self . sightline )
Rotate all thing about their centre, along a given axis by a given angle.
Rotate all thing about their centre along a given axis by a given angle .
""" Rotate all thing about their centre, along a given axis by a given angle. """
self
axis
theta