Initial HSMappy release (fork of Mappy)
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.Numerics;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using Mappy.Classes;
|
||||
|
||||
namespace Mappy.Extensions;
|
||||
|
||||
public static class GameObjectExtensions
|
||||
{
|
||||
public static Vector2 GetMapPosition(this IGameObject obj) => new Vector2(obj.Position.X, obj.Position.Z) * DrawHelpers.GetMapScaleFactor();
|
||||
}
|
||||
Reference in New Issue
Block a user