match m409/main.c
This commit is contained in:
parent
a6d8b8bb66
commit
b756f914de
5 changed files with 1189 additions and 115 deletions
|
|
@ -24,6 +24,7 @@ typedef struct vec2f {
|
|||
|
||||
#define VECMag2Point(a) (((a)->x*(a)->x)+((a)->y*(a)->y)+((a)->z*(a)->z))
|
||||
#define VECMagPoint(x, y, z) sqrtf(((x)*(x))+((y)*(y))+((z)*(z)))
|
||||
// #define sqrtDist3D(x, y, z) sqrtf(x * x + y * y + z * z)
|
||||
|
||||
#define sind(x) sin(M_PI*(x)/180.0)
|
||||
#define cosd(x) cos(M_PI*(x)/180.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue