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

Method interpolate

include/math.hpp:437–439  ·  view source on GitHub ↗

Returns `pos + size * p` */

Source from the content-addressed store, hash-verified

435 }
436 /** Returns `pos + size * p` */
437 Vec interpolate(Vec p) {
438 return pos.plus(size.mult(p));
439 }
440
441 // Method aliases
442 bool isContaining(Vec v) const {

Callers

nothing calls this directly

Calls 2

plusMethod · 0.80
multMethod · 0.80

Tested by

no test coverage detected