Learning C, Day 11 (Triangle Fill)

Today I got triangle fill and basic z-depth order working! It took about four hours (o.O), but it looks really cool:

I also fixed a bug with key inputs being delayed. I needed to get all the SDL events each frame instead of just the first one. It’s really nice to not have to wait ten seconds to change render modes or exit. Up next is matrix math!

Leave a comment

Your email address will not be published. Required fields are marked *

Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.