summaryrefslogtreecommitdiff
path: root/xform.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-02-07 12:19:23 +0000
committerrodri <rgl@antares-labs.eu>2024-02-07 12:19:23 +0000
commitdc21c6d3ee44b7e088dc305e2ab685a433b42a75 (patch)
tree443d5589df3919e3652b755d22edf5775c59f1fb /xform.c
parent6c7fd839f6ea6326bae354a27a2ba3c592444856 (diff)
downloadlibgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.tar.gz
libgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.tar.bz2
libgraphics-dc21c6d3ee44b7e088dc305e2ab685a433b42a75.zip
implement perspective-correct attribute interpolation.
also committing unfinished code for the clipping algorithm. references: - Kok-Lim Low, “Perspective-Correct Interpolation”, 2002 - https://www.scratchapixel.com/lessons/3d-basic-rendering/rasterization-practical-implementation/perspective-correct-interpolation-vertex-attributes.html - https://www.rose-hulman.edu/class/csse/csse351-abet/m10/triangle_fill.pdf, p. 23
Diffstat (limited to 'xform.c')
0 files changed, 0 insertions, 0 deletions