Unstable 1.8.4.0

This commit is contained in:
Markus Isberg
2025-03-12 12:56:27 +00:00
parent a4c3e868e4
commit a4a3427e4e
627 changed files with 29860 additions and 10018 deletions
@@ -71,7 +71,7 @@ namespace FarseerPhysics.Controllers
f = Strength / r2 * worldBody.Mass * controllerBody.Mass * d;
break;
case GravityType.Linear:
f = Strength / (float)Math.Sqrt(r2) * worldBody.Mass * controllerBody.Mass * d;
f = Strength / MathF.Sqrt(r2) * worldBody.Mass * controllerBody.Mass * d;
break;
}
@@ -92,7 +92,7 @@ namespace FarseerPhysics.Controllers
f = Strength / r2 * worldBody.Mass * d;
break;
case GravityType.Linear:
f = Strength / (float)Math.Sqrt(r2) * worldBody.Mass * d;
f = Strength / MathF.Sqrt(r2) * worldBody.Mass * d;
break;
}