Decompile more of m401dll

This commit is contained in:
gamemasterplc 2024-04-28 22:30:34 -05:00
parent c7dd48fd3a
commit 76690a0d5f
3 changed files with 205 additions and 0 deletions

View file

@ -66,6 +66,7 @@ void fn_2_10710(void);
void fn_2_1079C(void);
omObjData *fn_2_10A88(Vec *arg0, s16 arg1);
void fn_2_141B0(void);
omObjData *fn_2_14640(Process *objman);
#endif

View file

@ -12,6 +12,7 @@ typedef struct vec2f {
#define ABS(x) (((x) < 0) ? -(x) : (x))
#define VECDistanceXZ(a, b) sqrtf((((a)->x-(b)->x)*((a)->x-(b)->x))+(((a)->z-(b)->z)*((a)->z-(b)->z)))
#define VECDistanceZY(a, b) sqrtf((((a)->z-(b)->z)*((a)->z-(b)->z))+(((a)->y-(b)->y)*((a)->y-(b)->y)))
#define VECMagXZ(a) sqrtf(((a)->x*(a)->x)+((a)->z*(a)->z))
#define VECMagPoint(x, y, z) sqrtf(((x)*(x))+((y)*(y))+((z)*(z)))