refactor: Removed Unnecessary Recalculate on Shape Behaviour
This commit is contained in:
		@@ -2,7 +2,6 @@ using Microsoft.Xna.Framework;
 | 
			
		||||
 | 
			
		||||
using Apos.Shapes;
 | 
			
		||||
 | 
			
		||||
using Syntriax.Engine.Core;
 | 
			
		||||
using Syntriax.Engine.Physics2D.Primitives;
 | 
			
		||||
 | 
			
		||||
namespace Pong.Behaviours;
 | 
			
		||||
@@ -19,7 +18,6 @@ public class ShapeBehaviour : Syntriax.Engine.Physics2D.Collider2DShapeBehaviour
 | 
			
		||||
 | 
			
		||||
    public void Draw(ShapeBatch shapeBatch)
 | 
			
		||||
    {
 | 
			
		||||
        Recalculate();
 | 
			
		||||
        int count = ShapeWorld.Vertices.Count;
 | 
			
		||||
 | 
			
		||||
        shapeBatch.BorderCircle(Transform.Position.ToDisplayVector2(), 5f, Color.DarkRed);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user