mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 14:34:32 +00:00
Document Distortions from z_camera and z_view (#1102)
* Document Distortions * cleanup * cleanup hot-room comment * small swap * PR Review 1 * Missed a small thing * Add fishing case * PR Feedback * dirRot -> orientation * `UpdateWater` and `UpdateHotRoom`
This commit is contained in:
parent
267e20dd4c
commit
85ce3d3ca4
6 changed files with 184 additions and 165 deletions
|
@ -1352,13 +1352,13 @@ void func_800AA4A8(View* view, f32 fovy, f32 near, f32 far);
|
|||
void func_800AA4E0(View* view, f32* fovy, f32* near, f32* far);
|
||||
void View_SetViewport(View* view, Viewport* viewport);
|
||||
void View_GetViewport(View* view, Viewport* viewport);
|
||||
void func_800AA76C(View* view, f32 arg1, f32 arg2, f32 arg3);
|
||||
void func_800AA78C(View* view, f32 arg1, f32 arg2, f32 arg3);
|
||||
s32 func_800AA7AC(View* view, f32 arg1);
|
||||
void func_800AA7B8(View* view);
|
||||
void func_800AA814(View* view);
|
||||
void func_800AA840(View* view, Vec3f vec1, Vec3f vec2, f32 arg3);
|
||||
s32 func_800AA890(View* view, Mtx* mtx);
|
||||
void View_SetDistortionOrientation(View* view, f32 rotX, f32 rotY, f32 rotZ);
|
||||
void View_SetDistortionScale(View* view, f32 scaleX, f32 scaleY, f32 scaleZ);
|
||||
s32 View_SetDistortionSpeed(View* view, f32 speed);
|
||||
void View_InitDistortion(View* view);
|
||||
void View_ClearDistortion(View* view);
|
||||
void View_SetDistortion(View* view, Vec3f orientation, Vec3f scale, f32 speed);
|
||||
s32 View_StepDistortion(View* view, Mtx* projectionMtx);
|
||||
void func_800AAA50(View* view, s32 arg1);
|
||||
s32 func_800AAA9C(View* view);
|
||||
s32 func_800AB0A8(View* view);
|
||||
|
|
|
@ -178,11 +178,11 @@ typedef struct {
|
|||
/* 0x00A0 */ Mtx viewing;
|
||||
/* 0x00E0 */ Mtx* projectionPtr;
|
||||
/* 0x00E4 */ Mtx* viewingPtr;
|
||||
/* 0x00E8 */ Vec3f unk_E8;
|
||||
/* 0x00F4 */ Vec3f unk_F4;
|
||||
/* 0x0100 */ f32 unk_100;
|
||||
/* 0x0104 */ Vec3f unk_104;
|
||||
/* 0x0110 */ Vec3f unk_110;
|
||||
/* 0x00E8 */ Vec3f distortionOrientation;
|
||||
/* 0x00F4 */ Vec3f distortionScale;
|
||||
/* 0x0100 */ f32 distortionSpeed;
|
||||
/* 0x0104 */ Vec3f curDistortionOrientation;
|
||||
/* 0x0110 */ Vec3f curDistortionScale;
|
||||
/* 0x011C */ u16 normal; // used to normalize the projection matrix
|
||||
/* 0x0120 */ s32 flags;
|
||||
/* 0x0124 */ s32 unk_124;
|
||||
|
|
|
@ -1202,8 +1202,8 @@ typedef struct {
|
|||
/* 0x14A */ s16 unk_14A;
|
||||
/* 0x14C */ s16 unk_14C;
|
||||
/* 0x14E */ s16 childCamIdx;
|
||||
/* 0x150 */ s16 unk_150;
|
||||
/* 0x152 */ s16 unk_152;
|
||||
/* 0x150 */ s16 waterDistortionTimer;
|
||||
/* 0x152 */ s16 distortionFlags;
|
||||
/* 0x154 */ s16 prevSetting;
|
||||
/* 0x156 */ s16 nextCamDataIdx;
|
||||
/* 0x158 */ s16 nextBGCheckId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue