Skip to main content

Module span_gouraud

Module span_gouraud 

Source
Expand description

Gouraud shading base โ€” triangle with per-vertex colors.

Port of agg_span_gouraud.h โ€” stores triangle vertices with associated colors, sorts them by Y, and provides a VertexSource interface for feeding the triangle outline to the rasterizer.

Structsยง

CoordType
Triangle vertex with position and color.
SpanGouraud
Gouraud shading base class.