MCPcopy 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

getLineCrossingFunction · 0.80
drawMethod · 0.80
getViewportMethod · 0.80
drawChildMethod · 0.80
stepMethod · 0.80
getSlumpPosFunction · 0.80
stepMethod · 0.80
drawLayerMethod · 0.80
json_array_foreachFunction · 0.80
addModuleAtMouseMethod · 0.80
selectionToJsonMethod · 0.80
stepMethod · 0.80

Calls 1

VecClass · 0.85

Tested by

no test coverage detected