aboutsummaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* add a general primitive with support for points, lines and triangles.rodri2024-05-031-0/+20
| | | | | | | | also got rid of the dependency on OBJ for the entire renderer, instead letting the user load a Model from any given OBJ. this modularity will allow for other formats to be used in the same way, relying on a single, internal representation for the entire pipeline.
* can't always rely on screen being there.rodri2024-04-011-1/+1
|
* improve coordinate transformations and fix projections.rodri2024-01-311-54/+0
| | | | | also got rid of Deco. there's no point in having that, just deal with image(6) files.
* import the new renderer and clean things up.rodri2024-01-301-0/+108
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.