(self, x, y)
return b2.b2Vec2((x + self.viewOffset.x) / self.viewZoom,
                         ((self.screenSize.y - y + self.viewOffset.y)
                          / self.viewZoom))
Converts the display screen to the simulation's coordinates.
Converts the display screen to the simulation's coordinates.
Converts the display screen to the simulation s coordinates .
def ConvertScreenToWorld(self, x, y):
        """
        Converts the display screen to the simulation's coordinates.
        """
        return b2.b2Vec2((x + self.viewOffset.x) / self.viewZoom,
                         ((self.screenSize.y - y + self.viewOffset.y)
                          / self.viewZoom))
def ConvertScreenToWorld ( self , x , y ) : return b2 . b2Vec2 ( ( x + self . viewOffset . x ) / self . viewZoom , ( ( self . screenSize . y - y + self . viewOffset . y ) / self . viewZoom ) )