(self, xf)
Draw the transform xf on the screen
Draw the transform xf on the screen
Draw the transform xf on the screen
def DrawTransform(self, xf):
        """
        Draw the transform xf on the screen
        """
        p1 = xf.position
        p2 = self.to_screen(p1 + self.axisScale * xf.R.col1)
        p3 = self.to_screen(p1 + self.axisScale * xf.R.col2)
        p1 = self.to_screen(p1)

        pygame.draw.aaline(self.surface, (255, 0, 0), p1, p2)
        pygame.draw.aaline(self.surface, (0, 255, 0), p1, p3)
def DrawTransform ( self , xf ) : p1 = xf . position p2 = self . to_screen ( p1 + self . axisScale * xf . R . col1 ) p3 = self . to_screen ( p1 + self . axisScale * xf . R . col2 ) p1 = self . to_screen ( p1 ) pygame . draw . aaline ( self . surface , ( 255 , 0 , 0 ) , p1 , p2 ) pygame . draw . aaline ( self . surface , ( 0 , 255 , 0 ) , p1 , p3 )