summaryrefslogtreecommitdiff
path: root/clip.c
Commit message (Collapse)AuthorAgeFilesLines
* small improvements.rodri2024-07-121-25/+27
|
* add cubemaps.rodri2024-06-061-2/+1
|
* fix line rasterization.rodri2024-05-211-10/+25
|
* clip: fix rectclipline.rodri2024-05-031-7/+10
| | | | | mixed up CLIP[TB] and the slope was being computed as an integer division, which caused artifacts.
* clip: avoid division by zero.rodri2024-05-031-2/+2
|
* add a general primitive with support for points, lines and triangles.rodri2024-05-031-0/+220
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.