1v13d/src/FxEngine/coord.h

30 lines
477 B
C

#ifndef FE_COORD_H
#define FE_COORD_H
typedef struct FE_position FE_position;
struct FE_position
{int x,y,z;};
typedef struct FE_point FE_point;
struct FE_point
{FE_position real,translated,rotated};
void FE_calc(FE_point* point);
// sets rotation matrice
void FE_set_matrice(void);
// Maths
extern const double pi;
extern const double pi2;
extern const double pi_sur2;
double FE_modulo_2pi(double a);
double FE_cos(double angle);
double FE_sin(double angle);
#endif