summaryrefslogtreecommitdiff
path: root/triangle.c
Commit message (Collapse)AuthorAgeFilesLines
* import the new renderer and clean things up.rodri2024-01-301-42/+0
| | | | | | | | | | | | i integrated the renderer i've been developing on the tinyrend repo and got rid of a bunch of stuff that's no longer necessary. also began structuring things to fit the new interface i have in mind. there are still some artifacts with the projection xforms that cause issues with clipping and division by zero.
* move the edge function out into libgeometry.rodri2020-07-051-30/+0
|
* bring flat triangle rasterization back, with some goodies for future shading ↵rodri2020-06-291-0/+72
work. add uv coordinates to the vertex.