Various m410dll fixes
Match first translation unit and much of game.c
This commit is contained in:
parent
7f29533b7b
commit
f812f82e86
5 changed files with 111 additions and 170 deletions
|
|
@ -13,6 +13,7 @@ typedef struct vec2f {
|
|||
|
||||
#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 VECSumXZ(a, b) sqrtf((((a)->x+(b)->x)*((a)->x+(b)->x))+(((a)->z+(b)->z)*((a)->z+(b)->z)))
|
||||
|
||||
#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