

def point_to_world(self, p):
    'Returns an :class:`.euclid.Vector2` converted to world space.\n\n        Arguments:\n            p (Vector2): Vector to convert\n\n        Returns:\n            Vector2: ``p`` vector converted to world coordinates.\n        '
    v = euclid.Point2(p[0], p[1])
    matrix = self.get_world_transform()
    return (matrix * v)

dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py CocosNode.point_to_world/original