Add world-space unit nameplates projected to screen via camera VP matrix

For each visible Unit entity within 40 yards, projects the canonical WoW
position (converted to render space) through the camera view-projection
matrix to screen pixels.  Draws a health bar (hostile=red, friendly=green,
target=gold border) and name label with drop shadow using ImGui's background
draw list.  Fades out smoothly in the last 5 yards of range.
This commit is contained in:
Kelsi 2026-03-09 17:01:38 -07:00
parent f1d31643fc
commit 01e0c2f9a3
2 changed files with 92 additions and 0 deletions

View file

@ -238,6 +238,7 @@ private:
void renderAuctionHouseWindow(game::GameHandler& gameHandler);
void renderDungeonFinderWindow(game::GameHandler& gameHandler);
void renderInstanceLockouts(game::GameHandler& gameHandler);
void renderNameplates(game::GameHandler& gameHandler);
/**
* Inventory screen