Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit c332637

Browse files
committed
performance improvements...
1 parent 1dd4bf8 commit c332637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/physics/friction_simulation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static FrictionSimulation through(float startPosition, float endPosition,
3535
readonly float _v;
3636

3737
static float _dragFor(float startPosition, float endPosition, float startVelocity, float endVelocity) {
38-
return Mathf.Pow( Mathf.Epsilon, (startVelocity - endVelocity) / (startPosition - endPosition));
38+
return Mathf.Pow(Mathf.Epsilon, (startVelocity - endVelocity) / (startPosition - endPosition));
3939
}
4040

4141
public override float x(float time) {

0 commit comments

Comments
 (0)