Searched refs:BLOCKMAP_UNIT (Results 1 – 2 of 2) sorted by relevance
1046 if (fmod(x1 - bmap_orgx, BLOCKMAP_UNIT) == 0) in P_PathTraverse()1049 if (fmod(y1 - bmap_orgy, BLOCKMAP_UNIT) == 0) in P_PathTraverse()1062 int bx1 = (int)(x1 / BLOCKMAP_UNIT); in P_PathTraverse()1063 int by1 = (int)(y1 / BLOCKMAP_UNIT); in P_PathTraverse()1064 int bx2 = (int)(x2 / BLOCKMAP_UNIT); in P_PathTraverse()1065 int by2 = (int)(y2 / BLOCKMAP_UNIT); in P_PathTraverse()1088 partial = modf(x1 / BLOCKMAP_UNIT, &tmp); in P_PathTraverse()1111 partial = modf(y1 / BLOCKMAP_UNIT, &tmp); in P_PathTraverse()1248 x_dist = ABS((x1 / BLOCKMAP_UNIT) - (x0 / BLOCKMAP_UNIT)); in BlockAddLine()1249 y_dist = ABS((y1 / BLOCKMAP_UNIT) - (y0 / BLOCKMAP_UNIT)); in BlockAddLine()[all …]
33 #define BLOCKMAP_UNIT 128 macro44 #define BLOCKMAP_GET_X(x) ((int) ((x) - bmap_orgx) / BLOCKMAP_UNIT)45 #define BLOCKMAP_GET_Y(y) ((int) ((y) - bmap_orgy) / BLOCKMAP_UNIT)