diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-03-13 23:28:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-14 08:28:01 +0200 |
| commit | e4d6e610f644e919928579256d925d83c8e28684 (patch) | |
| tree | dd332040fe27d1e7c478148d5660c6d9147e4c50 /libs | |
| parent | 42418393d5f5b28dad412641747f5e5c8967f290 (diff) | |
d_a_mirror done, d_a_ni 99% done (#2095)
* d_a_mirror done
* d_a_ni 99.9% done
* remove asm
* some d_a_ni doc
* progress
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/JSystem/J3DU/J3DUClipper.cpp | 4 | ||||
| -rw-r--r-- | libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/math.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libs/JSystem/J3DU/J3DUClipper.cpp b/libs/JSystem/J3DU/J3DUClipper.cpp index 95edb61a2c..c215769d02 100644 --- a/libs/JSystem/J3DU/J3DUClipper.cpp +++ b/libs/JSystem/J3DU/J3DUClipper.cpp @@ -47,7 +47,7 @@ void J3DUClipper::calcViewFrustum() { } /* 802738FC-80273A44 26E23C 0148+00 0/0 3/3 2/2 .text clip__11J3DUClipperCFPA4_Cf3Vecf */ -u32 J3DUClipper::clip(f32 const (*param_0)[4], Vec param_1, f32 param_2) const { +int J3DUClipper::clip(f32 const (*param_0)[4], Vec param_1, f32 param_2) const { Vec vec1; MTXMultVec(param_0, ¶m_1, &vec1); if (-vec1.z < mNear - param_2) { @@ -80,7 +80,7 @@ u32 J3DUClipper::clip(f32 const (*param_0)[4], Vec param_1, f32 param_2) const { /* ############################################################################################## */ /* 80273A44-80273E08 26E384 03C4+00 0/0 3/3 2/2 .text clip__11J3DUClipperCFPA4_CfP3VecP3Vec */ -u32 J3DUClipper::clip(f32 const (*param_1)[4], Vec* param_2, Vec* param_3) const { +int J3DUClipper::clip(f32 const (*param_1)[4], Vec* param_2, Vec* param_3) const { s32 local_98[6]; for (int i = 0; i < 6; i++) { local_98[i] = 0; diff --git a/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/math.h b/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/math.h index ca4310d273..2beaeba9fd 100644 --- a/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/math.h +++ b/libs/PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Include/math.h @@ -81,6 +81,7 @@ inline float atan2f(float y, float x) { inline float i_sinf(float x) { return sin(x); } inline float i_cosf(float x) { return cos(x); } +inline float i_tanf(float x) { return tan(x); } #ifdef __cplusplus }; |
