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

Method mult

include/math.hpp:215–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 return Vec(x - b.x, y - b.y);
214 }
215 Vec mult(float s) const {
216 return Vec(x * s, y * s);
217 }
218 Vec mult(Vec b) const {
219 return Vec(x * b.x, y * b.y);
220 }

Callers 15

scrollCallbackFunction · 0.80
getRelativeOffsetMethod · 0.80
getViewportMethod · 0.80
renderMethod · 0.80
setBackgroundMethod · 0.80
PlugWidgetMethod · 0.80
drawLayerMethod · 0.80
json_array_foreachFunction · 0.80
RackScrollWidgetMethod · 0.80
stepMethod · 0.80
drawMethod · 0.80
BefacoSlidePotMethod · 0.80

Calls 1

VecClass · 0.85

Tested by

no test coverage detected