Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/AirtestProject/Poco
/ __radd__
Method
__radd__
poco/utils/vector.py:29–30 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
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)
31
32
def
__rsub__(self, other):
33
return
Vec2(other.x - self.x, other.y - self.y)
Callers
nothing calls this directly
Calls
1
Vec2
Class · 0.85
Tested by
no test coverage detected