comment on gLinkChildEyesLeftTex/Right appearing swapped

This commit is contained in:
Dragorn421 2025-05-29 01:15:08 +02:00
parent 8bec22de8f
commit ab21106e1f
No known key found for this signature in database
GPG Key ID: 381AEBAF3D429335
1 changed files with 6 additions and 0 deletions

View File

@ -1037,6 +1037,12 @@ void* sEyeTextures[][PLAYER_EYES_MAX] = {
gLinkChildEyesOpenTex, // PLAYER_EYES_OPEN
gLinkChildEyesHalfTex, // PLAYER_EYES_HALF
gLinkChildEyesClosedfTex, // PLAYER_EYES_CLOSED
/*
Note `PLAYER_EYES_RIGHT` corresponds to the "left" eyes texture, and vice-versa with the "right" eyes textures.
This is because on the textures Link appears to look left/right as if facing outwards the screen,
but the image is mirrored by the child Link model's UVs, reversing the direction actually looked in,
which results in-game in the correct eyes direction.
*/
gLinkChildEyesLeftTex, // PLAYER_EYES_RIGHT
gLinkChildEyesRightTex, // PLAYER_EYES_LEFT
gLinkChildEyesWideTex, // PLAYER_EYES_WIDE