Decompile more of m401dll
This commit is contained in:
parent
c7dd48fd3a
commit
76690a0d5f
3 changed files with 205 additions and 0 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue