Searched refs:TRI_HALF (Results 1 – 2 of 2) sorted by relevance
93 #define TRI_HALF (1 << (TRI_FRACTION_BITS-1)) macro98 #define TRI_ROUND(x) (((x) + TRI_HALF ) & ~(TRI_ONE-1))103 #define TRI_SNAP_NEXT_HALF(x) (TRI_CEIL((x)+TRI_HALF) - TRI_HALF)104 #define TRI_SNAP_PREV_HALF(x) (TRI_CEIL((x)-TRI_HALF) - TRI_HALF)
157 halfSize = TRI_HALF; in pointx()160 if (halfSize & TRI_HALF) { // size odd in pointx()161 xc = TRI_FLOOR(xc) + TRI_HALF; in pointx()162 yc = TRI_FLOOR(yc) + TRI_HALF; in pointx()212 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_nice_pointx()213 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_nice_pointx()277 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_pointx()278 GGLcoord ystart = TRI_FROM_INT(t) - v[1] + TRI_HALF; in aa_pointx()363 halfWidth = TRI_HALF; in linex()552 const int32_t my = (miny << TRI_FRACTION_BITS) + TRI_HALF; in trianglex_small()[all …]