def cpvrotate(self, other):
        return Vec2d(self.x*other.x - self.y*other.y, self.x*other.y + self.y*other.x)
Uses complex multiplication to rotate this vector by the other.
dataset/ETHPy150Open viblo/pymunk/dump/body_bench_ctypes.py/Vec2d.cpvrotate