ya kno it
Diff: filter.cpp
- Revision:
- 1:db5970567c4d
- Parent:
- 0:09ae59836ddc
--- a/filter.cpp Wed Oct 25 12:35:24 2017 +0000 +++ b/filter.cpp Fri Oct 27 12:48:46 2017 +0000 @@ -41,10 +41,10 @@ xprev[2] = x; float y = (pow(w,2)*x - + 2*w*xprev[1] + + 2*pow(w,2)*xprev[1] + pow(w,2)*xprev[0] - + (2+sqrt(2.0f)*w-2*pow(w,2))*yprev[1] - - (1+pow(w,2))*yprev[0] + + (2-2*pow(w,2))*yprev[1] + - (1-sqrt(2.0f)*w+pow(w,2))*yprev[0] ) /(1+sqrt(2.0f)*w+pow(w,2));