26 #define DIRBITS 7 //no of bits used 27 #define DIRSCALE 1000 //length of vector 52 const DIR128 & minus)
const 55 int16_t result = dir - minus.dir;
61 return (int8_t) result;
68 result = dir + add.dir;
73 *
this = dir + add.dir;
ICOORD & operator+=(ICOORD &op1, const ICOORD &op2)
ICOORD operator-(const ICOORD &src)
ICOORD operator+(const ICOORD &op1, const ICOORD &op2)