Optimize shape for double-struck 2 (#2728)

This commit is contained in:
be5invis 2025-03-30 13:28:44 -07:00
parent 5c8392346d
commit e5032b977c
2 changed files with 22 additions and 18 deletions

View file

@ -314,6 +314,9 @@ export function SetupBuilders(bindings) {
alsoThru.g4 = function (rx, ry, raf) {
return new SimpleMixInterpolator(g4, rx, ry, 0, 0, raf);
};
alsoThru.g2.withOffset = function (rx, ry, deltaX, deltaY, raf) {
return new SimpleMixInterpolator(g2, rx, ry, deltaX, deltaY, raf);
};
/// Multi-mix interpolator
class MultiMixInterpolator extends InterpolatorBase {