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