diff options
author | rodri <rgl@antares-labs.eu> | 2024-02-14 17:46:40 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-02-14 17:46:40 +0000 |
commit | 3134de0eaeb4c9d7d7703bba1d76a4a477f7c6f4 (patch) | |
tree | d0efbc9c6f4c37d40f9250e41441665fede0529b /fb.c | |
parent | 5b93335dd430e09a71ebaba131826cd7db154cb4 (diff) | |
download | libgraphics-3134de0eaeb4c9d7d7703bba1d76a4a477f7c6f4.tar.gz libgraphics-3134de0eaeb4c9d7d7703bba1d76a4a477f7c6f4.tar.bz2 libgraphics-3134de0eaeb4c9d7d7703bba1d76a4a477f7c6f4.zip |
pass an entire entity to the shader unit. fix a bug in cliptriangle.
an entity is passed instead of a model so we can access
its frame of reference to perform the model-to-world
transformation.
the bug in cliptriangle was due to sd[01] being declared
as static which, when rendering multiple entities, was
causing d0 = d1, which led to division-by-zero.
Diffstat (limited to 'fb.c')
0 files changed, 0 insertions, 0 deletions