diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-07-12 00:25:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 00:25:40 -0400 |
| commit | fda5da2500f377c2107a296031c46f78cc8ac90a (patch) | |
| tree | 1520e3dce8d5c48bc7ff857e9320f97ebeb04558 /src/code/z_quake.c | |
| parent | 628482f3c44fb0d44f6fd8680804458646a2ab5a (diff) | |
Introducing z64camera.h (#797)
* Introduce z64camera.h
* format
* Oops
* Change paramData to u8
* BINANG_TO_DEGF and DEGF_TO_BINANG to z64camera.h
* Fix bss, thanks Anon
* Update with docs from OoT
* Cleanup
* Fix activeCamId
* underwater
* remove interface alpha stuff
* Oops
* To Hex
* Cleanup cam settings comments
* PR Suggestions
* More PR Suggestions
* trackActor -> focalActor
* Fix merge
* Fix bss, thanks Anon
Diffstat (limited to 'src/code/z_quake.c')
| -rw-r--r-- | src/code/z_quake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_quake.c b/src/code/z_quake.c index 2ada2ba78..7caa0f426 100644 --- a/src/code/z_quake.c +++ b/src/code/z_quake.c @@ -756,8 +756,8 @@ void Distortion_Update(void) { return; } - depthPhase += DEGF_TO_BINANG(depthPhaseStep); - screenPlanePhase += DEGF_TO_BINANG(screenPlanePhaseStep); + depthPhase += CAM_DEG_TO_BINANG(depthPhaseStep); + screenPlanePhase += CAM_DEG_TO_BINANG(screenPlanePhaseStep); View_SetDistortionDirRot(&sDistortionContext.play->view, Math_CosS(depthPhase) * (DEGF_TO_RADF(rotX) * xyScaleFactor), |
