Merge branch 'master' into withConsoleLog
This commit is contained in:
commit
34b666a668
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user