MCPcopy
hub / github.com/AirtestProject/Poco / __rsub__

Method __rsub__

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

Source from the content-addressed store, hash-verified

30 return Vec2(other.x + self.x, other.y + self.y)
31
32 def __rsub__(self, other):
33 return Vec2(other.x - self.x, other.y - self.y)
34
35 def __mul__(self, other):
36 return Vec2(self.x * other, self.y * other)

Callers

nothing calls this directly

Calls 1

Vec2Class · 0.85

Tested by

no test coverage detected