ref: 9ca8a4f708e2d532e60a8d5ecc53f5c773187a31
dir: /span.c/
#include "quakedef.h" void dospan(pixel_t *pdest, pixel_t *pbase, int s, int t, int sstep, int tstep, int spancount, int cachewidth) { do{ *pdest++ = pbase[(s >> 16) + (t >> 16) * cachewidth]; s += sstep; t += tstep; }while(--spancount); }