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

◆ ToTileCoordinates() [2/2]

static Point Terraria.Utils.ToTileCoordinates ( this Vector2D vec)
inlinestatic

Definition at line 1253 of file Utils.cs.

1254 {
1255 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
1256 //IL_0009: Unknown result type (might be due to invalid IL or missing references)
1257 return new Point((int)vec.X >> 4, (int)vec.Y >> 4);
1258 }

References Microsoft.Xna.Framework.Graphics.Point.