MCPcopy Index your code
hub / github.com/AirtestProject/Poco / __sub__

Method __sub__

poco/utils/vector.py:26–27  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

24 return Vec2(self.x + other.x, self.y + other.y)
25
26 def __sub__(self, other):
27 return Vec2(self.x - other.x, self.y - other.y)
28
29 def __radd__(self, other):
30 return Vec2(other.x + self.x, other.y + self.y)

Callers

nothing calls this directly

Calls 1

Vec2Class · 0.85

Tested by

no test coverage detected