35 #ifndef LE_RASTERIZER_FLOAT_H
36 #define LE_RASTERIZER_FLOAT_H
65 inline void fillTriangleZC(
int vi1,
int vi2,
int vi3,
bool top);
66 inline void fillFlatTexZC(
int y,
float x1,
float x2,
float w1,
float w2,
float u1,
float u2,
float v1,
float v2);
67 inline void fillFlatTexZCFog(
int y,
float x1,
float x2,
float w1,
float w2,
float u1,
float u2,
float v1,
float v2);
68 inline void fillFlatTexAlphaZC(
int y,
float x1,
float x2,
float w1,
float w2,
float u1,
float u2,
float v1,
float v2);
69 inline void fillFlatTexAlphaZCFog(
int y,
float x1,
float x2,
float w1,
float w2,
float u1,
float u2,
float v1,
float v2);
81 #if LE_USE_SIMD == 1 && LE_USE_SSE2 == 1
86 #endif // LE_USE_SIMD && LE_USE_SSE2
88 float xs[4], ys[4], ws[4];
92 #endif // LE_RASTERIZER_FLOAT_H
LightEngine 3D: Native OS graphic context.
Represent a rasterizable triangle.
Definition: trilist.h:75
LightEngine 3D: General engine configuration file.
LightEngine 3D: Triangle lists.
LightEngine 3D: Global helpers and definitions.
Rasterize triangle lists.
Definition: rasterizer_float.h:51
Contain and manage triangle lists.
Definition: trilist.h:93
LeBitmap frame
Definition: rasterizer_float.h:61
Contain and manage a RGB or RGBA 32bit bitmap image.
Definition: bitmap.h:58
#define LE_RESOX_DEFAULT
Definition: config.h:37
Represent an RGBA color.
Definition: color.h:42
#define LE_RESOY_DEFAULT
Definition: config.h:38
void flush()
Fill the frame buffer with the background color.
Definition: rasterizer_float.cpp:97
LightEngine 3D: Vertex / axis / plane / matrix objects.
void rasterList(LeTriList *trilist)
Rasterize the given triangle list.
Definition: rasterizer_float.cpp:108
LightEngine 3D: SIMD constants / types and intrinsic definitions.
LeRasterizer(int width=LE_RESOX_DEFAULT, int height=LE_RESOY_DEFAULT)
Definition: rasterizer_float.cpp:68
LeColor background
Definition: rasterizer_float.h:62
const void * getPixels()
Definition: rasterizer_float.h:58
~LeRasterizer()
Definition: rasterizer_float.cpp:87