(self, aabb, color)
Draw a wireframe around the AABB with the given color.
Draw a wireframe around the AABB with the given color.
Draw a wireframe around the AABB with the given color .
def DrawAABB(self, aabb, color):
        """
        Draw a wireframe around the AABB with the given color.
        """
        points = [(aabb.lowerBound.x, aabb.lowerBound.y),
                  (aabb.upperBound.x, aabb.lowerBound.y),
                  (aabb.upperBound.x, aabb.upperBound.y),
                  (aabb.lowerBound.x, aabb.upperBound.y)]

        pygame.draw.aalines(self.surface, color, True, points)
def DrawAABB ( self , aabb , color ) : points = [ ( aabb . lowerBound . x , aabb . lowerBound . y ) , ( aabb . upperBound . x , aabb . lowerBound . y ) , ( aabb . upperBound . x , aabb . upperBound . y ) , ( aabb . lowerBound . x , aabb . upperBound . y ) ] pygame . draw . aalines ( self . surface , color , True , points )