some c_m3d (#97)

* decompiled some bgs_chk funcs

* c_m3d_g

* c_math progress

* remove duplicate SComponent headers

* move some variables and decompile a function

* some inlined from debug

* cM3d_2PlaneLinePosNearPos

* fix fabsf and decompile cM3d_CrawVec

* format

* cleanup

* more cleanup

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
lepelog
2021-01-26 23:48:47 +01:00
committed by GitHub
parent b8d0da505d
commit 1e105b87f1
135 changed files with 1022 additions and 2738 deletions
+8 -4
View File
@@ -24,14 +24,18 @@ struct JUTWarn {
extern float __fabsf(float);
inline double fabsf(double d) {
return __fabsf(d);
inline double fabsd(float f) {
return __fabsf(f);
}
inline float fabsf(float f) {
return (float)fabsd(f);
}
extern float __fsqrte(float);
inline double sqrt(double d) {
return __fsqrte(d);
inline double sqrt(float f) {
return __fsqrte(f);
}
#include "dolphin/types.h"