#ifndef WH_2DMATH_H_63b9d4eb_ #define WH_2DMATH_H_63b9d4eb_ typedef struct fpoint FPOINT; struct fpoint { double x; double y; } ; extern FPOINT add2(FPOINT, FPOINT); extern FPOINT sub2(FPOINT, FPOINT); extern FPOINT scale2(FPOINT, double); extern double dot2(FPOINT, FPOINT); extern FPOINT unit2(FPOINT); extern double len2(FPOINT); extern double len22(FPOINT); extern double cross2(FPOINT, FPOINT); extern FPOINT sincos2(double); extern FPOINT r90(FPOINT); #endif