Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ minus
Method
minus
include/math.hpp:212–214 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
210
return Vec(x + b.x, y + b.y);
211
}
212
Vec minus(Vec b) const {
213
return Vec(x - b.x, y - b.y);
214
}
215
Vec mult(float s) const {
216
return Vec(x * s, y * s);
217
}
Callers
15
getLineCrossing
Function · 0.80
draw
Method · 0.80
getViewport
Method · 0.80
drawChild
Method · 0.80
step
Method · 0.80
getSlumpPos
Function · 0.80
step
Method · 0.80
drawLayer
Method · 0.80
json_array_foreach
Function · 0.80
addModuleAtMouse
Method · 0.80
selectionToJson
Method · 0.80
step
Method · 0.80
Calls
1
Vec
Class · 0.85
Tested by
no test coverage detected