Unstable 1.8.4.0
This commit is contained in:
@@ -137,8 +137,8 @@ namespace FarseerPhysics.Common.PolygonManipulation
|
||||
float dy0 = vertices[middle].Y - vertices[lower].Y;
|
||||
float dx1 = vertices[upper].Y - vertices[middle].X;
|
||||
float dy1 = vertices[upper].Y - vertices[middle].Y;
|
||||
float norm0 = (float)Math.Sqrt(dx0 * dx0 + dy0 * dy0);
|
||||
float norm1 = (float)Math.Sqrt(dx1 * dx1 + dy1 * dy1);
|
||||
float norm0 = MathF.Sqrt(dx0 * dx0 + dy0 * dy0);
|
||||
float norm1 = MathF.Sqrt(dx1 * dx1 + dy1 * dy1);
|
||||
|
||||
if (!(norm0 > 0.0f && norm1 > 0.0f) && newNVertices > 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user