X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=JackStahl.pde;h=dd60db712504f2f3db0d47aebb6fc51e53b6c068;hb=2bb5682284f70c5788cbfcb9cba3c7bf66a104b6;hp=081ea40424c797e04594d75885808e17dba382a8;hpb=bae2197a9a134bd45f983cd81ceb635d646620e3;p=SugarCubes.git diff --git a/JackStahl.pde b/JackStahl.pde index 081ea40..dd60db7 100644 --- a/JackStahl.pde +++ b/JackStahl.pde @@ -46,10 +46,10 @@ class Swim extends SCPattern { float denominator = max(xAngle.getValuef() + yAngle.getValuef() + zAngle.getValuef(), 1); - projection.reset(model) + projection.reset() // Swim around the world .rotate(rotation.getValuef(), xAngle.getValuef() / denominator, yAngle.getValuef() / denominator, zAngle.getValuef() / denominator) - .translateCenter(model, 0, 50 + yPos.getValuef(), 0); + .translateCenter(0, 50 + yPos.getValuef(), 0); float model_height = model.yMax - model.yMin; float model_width = model.xMax - model.xMin; @@ -157,7 +157,7 @@ class Balance extends SCPattern { float phase = phaseLFO.getValuef(); float crazy_factor = crazyParam.getValuef() / 0.2; - projection.reset(model) + projection.reset() .rotate(rotationZ.getValuef() * crazy_factor, 0, 1, 0) .rotate(rotationX.getValuef() * crazy_factor, 0, 0, 1) .rotate(rotationY.getValuef() * crazy_factor, 0, 1, 0);