Merge branch 'master' into withConsoleLog
This commit is contained in:
@@ -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