diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-04-18 13:34:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-18 16:34:58 -0400 |
| commit | 823746d49530318331f29af92fa924a15f2482a1 (patch) | |
| tree | 2931bf8e06b9e1d2ef13774e3fb2b25ac3b4d0fa /src/code/sys_matrix.c | |
| parent | a67d086addc1d0e226c28cadf58dda5e637d58ba (diff) | |
Angle Conversions (#1216)
* Angle Conversions
* Format
* namefixer
* Renames in ObjHsStump_Appear
* Format
* once more
* Explicit cast in EnSsh
* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/sys_matrix.c')
| -rw-r--r-- | src/code/sys_matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/sys_matrix.c b/src/code/sys_matrix.c index 63857676e..de8da3def 100644 --- a/src/code/sys_matrix.c +++ b/src/code/sys_matrix.c @@ -444,8 +444,8 @@ void Matrix_RotateXFApply(f32 x) { if (x != 0.0f) { cmf = sCurrentMatrix; - sin = sins(RADF_TO_BINANG(x)) * SHT_MINV; - cos = coss(RADF_TO_BINANG(x)) * SHT_MINV; + sin = sins(RAD_TO_BINANG(x)) * SHT_MINV; + cos = coss(RAD_TO_BINANG(x)) * SHT_MINV; tempY = cmf->xy; tempZ = cmf->xz; |
