32 inline void LeRasterizer::fillFlatTexZC(
int y,
float x1,
float x2,
float w1,
float w2,
float u1,
float u2,
float v1,
float v2)
34 float floatd = x2 - x1;
35 if (floatd == 0.0f)
return;
38 int xe = (int)(x2 + 1.9999f);
41 uint8_t * p = (uint8_t *) (xb + y *
frame.
tx + pixels);
42 short shortd = xe - xb;
44 fill_flat_texel_float(p, shortd, floatd, u1, v1, w1, u2, v2, w2, texMaskU, texMaskV, texSizeU, texDiffusePixels);
int tx
Definition: bitmap.h:81
LeBitmap frame
Definition: rasterizer_float.h:61
void fill_flat_texel_float(uint8_t *p, short d, float df, float u1, float v1, float w1, float u2, float v2, float w2, uint32_t texMaskU, uint32_t texMaskV, uint32_t texSizeU, LeColor *texPixels)