Merge branch 'master' into withConsoleLog

This commit is contained in:
Pitchaya Boonsarngsuk
2018-02-06 13:11:28 +00:00

View File

@@ -63,7 +63,7 @@ export default function () {
velocityDiff /= n*(neighbourSize+sampleSize); velocityDiff /= n*(neighbourSize+sampleSize);
latestVelocityDiff = velocityDiff; latestVelocityDiff = velocityDiff;
if(stableVeloHandler!==null && velocityDiff<stableVelocity){ if(velocityDiff<stableVelocity){
stableVeloHandler(); stableVeloHandler();
} }
else console.log(velocityDiff); else console.log(velocityDiff);