Rename vectors, remove comment

This commit is contained in:
JordanLongstaff 2025-06-06 10:37:50 -04:00
parent c8ead12c4b
commit c28a274b31
2 changed files with 8 additions and 8 deletions

View File

@ -2362,14 +2362,14 @@ void EnRu1_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot,
EnRu1* this = (EnRu1*)thisx;
if (limbIndex == RUTO_CHILD_HEAD) {
Vec3f src;
Vec3f dest;
Vec3f focusBase;
Vec3f focusPos;
src = sMultVec;
Matrix_MultVec3f(&src, &dest);
this->actor.focus.pos.x = dest.x;
this->actor.focus.pos.y = dest.y;
this->actor.focus.pos.z = dest.z;
focusBase = sMultVec;
Matrix_MultVec3f(&focusBase, &focusPos);
this->actor.focus.pos.x = focusPos.x;
this->actor.focus.pos.y = focusPos.y;
this->actor.focus.pos.z = focusPos.z;
this->actor.focus.rot.x = this->actor.world.rot.x;
this->actor.focus.rot.y = this->actor.world.rot.y;
this->actor.focus.rot.z = this->actor.world.rot.z;

View File

@ -37,7 +37,7 @@ typedef struct EnRu1 {
/* 0x0286 */ s8 roomNum3;
/* 0x0288 */ f32 unk_288;
/* 0x028C */ BgBdanObjects* bigOctoPlatform;
/* 0x0290 */ s32 preLimbDrawIndex; // should always be 0
/* 0x0290 */ s32 preLimbDrawIndex;
/* 0x0294 */ char unk_294[0x4];
/* 0x0298 */ s32 unk_298;
/* 0x029C */ char unk_29C[0x2];