v1.4.4.1 (Blood in the Water Update)
This commit is contained in:
@@ -267,7 +267,7 @@ namespace Voronoi2
|
||||
{
|
||||
Vector2 dir = Vector2.Normalize(Point1 - Point2);
|
||||
Vector2 normal = new Vector2(dir.Y, -dir.X);
|
||||
if (cell != null && Vector2.Dot(normal, Vector2.Normalize(Center - cell.Center)) < 0)
|
||||
if (cell != null && Vector2.Dot(normal, Vector2.Normalize(Center - (cell.Center - cell.Translation))) < 0)
|
||||
{
|
||||
normal = -normal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user