aboutsummaryrefslogtreecommitdiff
path: root/surfaces.png
AgeCommit message (Collapse)Author
2021-10-11Fix many texture bugs, access memory in increasing order everywheretslil clingman
- switch z_buffer to use screen space coordinates (why does y increase downward!) - extract pointless (re)calculations from inside hot loops, in particular from object drawing but also to the extent allowed by applicable law from floor and ceiling drawing
2021-09-12More efficient surface rendering!tslil clingman
Now, outside of sprites, every pixel on the screen is draw at most once. Hoorah. Unfortunately things still seem to be a little slow, perhaps its the z_buffer access or the fact that vertical floor slice drawing is bad?