Remove logging
This commit is contained in:
@@ -62,7 +62,7 @@ export default function (sim, forceS, forceF) {
|
||||
function initForces(){
|
||||
if (forceSample.stableVelocity && forceSample.stableVeloHandler) {
|
||||
forceSample
|
||||
.stableVelocity(0.000001) //TODO
|
||||
.stableVelocity(0) //TODO
|
||||
.stableVeloHandler(sampleEnded);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,10 +62,9 @@ export default function () {
|
||||
velocityDiff /= n*(neighbourSize+sampleSize);
|
||||
|
||||
if(stableVeloHandler!==null && velocityDiff<stableVelocity){
|
||||
//TODO remove console logs
|
||||
console.log("Neighbour sampling is now", velocityDiff, ", calling stableVeloHandler().")
|
||||
stableVeloHandler();
|
||||
}
|
||||
//TODO remove console logs
|
||||
else console.log(velocityDiff);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user