MCPcopy Create free account
hub / github.com/VCVRack/Rack / plus

Method plus

include/math.hpp:209–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 return Vec(-x, -y);
208 }
209 Vec plus(Vec b) const {
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 }

Callers 15

crossfadeMethod · 0.95
renderMethod · 0.80
getRelativeOffsetMethod · 0.80
getSlumpPosFunction · 0.80
drawLayerMethod · 0.80
json_array_foreachFunction · 0.80
onDragMoveMethod · 0.80
stepMethod · 0.80
onEnterMethod · 0.80
BefacoSlidePotMethod · 0.80
stepMethod · 0.80
getCenterMethod · 0.80

Calls 1

VecClass · 0.85

Tested by

no test coverage detected