Mercurial > hg > wabletios
diff scanpath.mm @ 14:4ba81a12b008
Fixed OSC crash.
Fixed really nasty clipping with less nasty clipping.
V1.2
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 14 Jul 2014 16:26:30 +0100 |
parents | 426d645d8e69 |
children |
line wrap: on
line diff
--- a/scanpath.mm Wed Jun 26 17:23:30 2013 +0100 +++ b/scanpath.mm Mon Jul 14 16:26:30 2014 +0100 @@ -295,16 +295,7 @@ double sample = (1 - frameInterpolator)*oldsample + frameInterpolator*newsample; //cout << sample << endl; // keep within the bounds of acceptability - sample = sample*3.0; - - if(sample > 0.99){ - cout << "BIG" << endl; - - sample = 0.99; - }else if(sample < -0.0){ - cout << "SMALL" << endl; - sample = 0.0; - } + return sample; }