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

Method crossfade

include/math.hpp:286–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 Vec clamp(Rect bound) const;
285 Vec clampSafe(Rect bound) const;
286 Vec crossfade(Vec b, float p) {
287 return this->plus(b.minus(*this).mult(p));
288 }
289
290 // Method aliases
291 bool isEqual(Vec b) const {

Callers 1

onChangeMethod · 0.80

Calls 3

plusMethod · 0.95
multMethod · 0.80
minusMethod · 0.80

Tested by

no test coverage detected