fixed OSC

This commit is contained in:
gauthiier 2015-03-04 14:09:33 +01:00
parent d79fe1f91e
commit 9bb85c8bfa

View File

@ -13,7 +13,7 @@ class Oscillator {
public float update() { public float update() {
_theta += _step; _theta += _step;
return (sin(_theta) * _length / 2) + _length / 2; return (sin(_theta) * (_length / 2)) + (_length / 2) + _min;
} }
} }