Python 3/PyGame/carga_en_mov(E+B)/projections3D.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()
            getattr(thing, rotateFunction)(centre, theta)
 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()
            getattr(thing, rotateFunction)(centre, theta)
def rotateAll ( self , axis , theta ) : rotateFunction = 'rotate' + axis for thing in self . objects . values ( ) : centre = thing . get_centre ( ) getattr ( thing , rotateFunction ) ( centre , theta )
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