MIRA
|
Rasterizes triangles scanline by scanline. More...
Go to the source code of this file.
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Functions | |
template<typename Visitor > | |
void | rasterTriangle (Point2i p0, Point2i p1, Point2i p2, Visitor &&visitor) |
Rasters a triangle scanline by scanline. More... | |
template<typename Visitor > | |
void | rasterTriangle (const Polygon2i &polygon, Visitor &&visitor) |
Same function as above, but with a nicer interface. More... | |
Rasterizes triangles scanline by scanline.