Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
onChange
Method · 0.80
Calls
3
plus
Method · 0.95
mult
Method · 0.80
minus
Method · 0.80
Tested by
no test coverage detected