le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
rasterizer.h
Go to the documentation of this file.
1 
33 #ifndef LE_RASTERIZER_H
34 #define LE_RASTERIZER_H
35 
36 #include "global.h"
37 #include "config.h"
38 
39 /*****************************************************************************/
40 #ifndef LE_RENDERER_INTRASTER
41  #error LE_RENDERER_INTRASTER undefined.
42  #error Use LE_RENDERER_INTRASTER (in config.h) to select between fixed point or floating point triangle rasterization.
43 #endif // LE_RENDERER_INTRASTER
44 
45 /*****************************************************************************/
46 #if LE_RENDERER_INTRASTER == 1
47  #include "rasterizer_integer.h"
48 #else
49  #include "rasterizer_float.h"
50 #endif
51 
52 #endif // LE_RASTERIZER_H
LightEngine 3D: Triangle rasterizer (fixed point)
LightEngine 3D: General engine configuration file.
LightEngine 3D: Triangle rasterizer (floating point)
LightEngine 3D: Global helpers and definitions.