projf-explore
projf-explore copied to clipboard
Triangle outline and fill not congruent
If we draw a triangle outline and a filled triangle with identical vertices, they don't always match. This seems to be a problem on some edges where there are multiple edge pixels per line.
Library modules:
- lib/graphics/draw_triangle.sv
- lib/graphics/draw_triangle_fill.sv
Example - right-edge of this triangle:
vx0 <= 60; vy0 <= 20;
vx1 <= 280; vy1 <= 80;
vx2 <= 160; vy2 <= 164;
More details to follow.