change everything to use a common types file

This commit is contained in:
Elijah Thomas
2023-12-24 09:59:13 -05:00
parent d8362c1004
commit e32db6f07a
213 changed files with 3516 additions and 3277 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <c/c_math.h>
#include <m/m_math.h>
#include <nw4r/math/arithmetic.h>
void mMtx_c::toRot(mAng3_c &out) const {
f32 t1 = 0.0f;
f32 t0 = m[0][2] + m[2][2];
if (t0 > 0.0f) {
t1 = t0 * nw4r::math::FrSqrt(t0);
}
s16 anglex = cM::atan2s(-m[1][2], t1);
}