perf: Removed Unnecessary Recalculate in CircleBehaviour
This commit is contained in:
parent
76484017e1
commit
91ad13628c
|
@ -2,7 +2,6 @@ using Microsoft.Xna.Framework;
|
|||
|
||||
using Apos.Shapes;
|
||||
|
||||
using Syntriax.Engine.Core;
|
||||
using Syntriax.Engine.Physics2D.Primitives;
|
||||
|
||||
namespace Pong.Behaviours;
|
||||
|
@ -19,8 +18,6 @@ public class CircleBehaviour : Syntriax.Engine.Physics2D.Collider2DCircleBehavio
|
|||
|
||||
public void Draw(ShapeBatch shapeBatch)
|
||||
{
|
||||
Recalculate();
|
||||
|
||||
shapeBatch.BorderCircle(CircleWorld.Center.ToDisplayVector2(), CircleWorld.Radius, Color);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue