summaryrefslogtreecommitdiff
path: root/graphics.h
Commit message (Collapse)AuthorAgeFilesLines
...
* lay out the grounds for a scene renderer.rodri2024-02-131-7/+25
| | | | | | also fixed an issue with cliptriangle() where an entire tri would get discarded if all its vertices were outside the frustum.
* completed homogeneous clipping procedure.rodri2024-02-121-0/+41
|
* improve coordinate transformations and fix projections.rodri2024-01-311-5/+2
| | | | | also got rid of Deco. there's no point in having that, just deal with image(6) files.
* make the vertex shader process actual vertices.rodri2024-01-301-2/+1
|
* import the new renderer and clean things up.rodri2024-01-301-35/+102
| | | | | | | | | | | | 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.
* add a line clipping procedure based on the Liang-Barsky algorithm. (thanks ↵rodri2021-07-181-0/+1
| | | | jmi2k!)
* bring flat triangle rasterization back, with some goodies for future shading ↵rodri2020-06-291-0/+14
| | | | work. add uv coordinates to the vertex.
* transcribe macros into actual functions. remove unused memdraw code.rodri2020-04-281-7/+33
|
* standalone version release.rodri2020-04-171-0/+42