From 3580469a078d8e9bb1ee7e50042bad876ad9ada1 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Sun, 28 Jan 2024 16:09:06 +0300 Subject: [PATCH] refactor: Removed Shape Center Circles --- Game/Behaviours/ShapeBehaviour.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Game/Behaviours/ShapeBehaviour.cs b/Game/Behaviours/ShapeBehaviour.cs index 3417909..94fa862 100644 --- a/Game/Behaviours/ShapeBehaviour.cs +++ b/Game/Behaviours/ShapeBehaviour.cs @@ -25,8 +25,6 @@ public class ShapeBehaviour : Syntriax.Engine.Physics2D.Collider2DShapeBehaviour int count = ShapeWorld.Vertices.Count; - shapeBatch.BorderCircle(Transform.Position.ToDisplayVector2(), 5f, Color.DarkRed); - for (int i = 0; i < count - 1; i++) shapeBatch.DrawLine(ShapeWorld[i].ToDisplayVector2(), ShapeWorld[i + 1].ToDisplayVector2(), Thickness, Color, Color); shapeBatch.DrawLine(ShapeWorld[0].ToDisplayVector2(), ShapeWorld[^1].ToDisplayVector2(), Thickness, Color, Color);