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