Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Center()

static Vector2 Terraria.Utils.Center ( this Rectangle r)
inlinestatic

Definition at line 998 of file Utils.cs.

999 {
1000 return new Vector2(r.X + r.Width / 2, r.Y + r.Height / 2);
1001 }

References Microsoft.Xna.Framework.Graphics.Vector2.