Remove logging
This commit is contained in:
parent
2f69e7bd88
commit
e0f0da1c8c
@ -104,7 +104,6 @@ function createMomentumDrag({
|
|||||||
const dy = last.position - first.position
|
const dy = last.position - first.position
|
||||||
if (Math.abs(dy) > 5) velocity = (-dy * speed) / (now - first.timestamp)
|
if (Math.abs(dy) > 5) velocity = (-dy * speed) / (now - first.timestamp)
|
||||||
}
|
}
|
||||||
console.log(velocity, samples)
|
|
||||||
samples = []
|
samples = []
|
||||||
startMomentum()
|
startMomentum()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user