mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
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:
parent
f1d31643fc
commit
01e0c2f9a3
2 changed files with 92 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue