mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
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:
+8
-4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user