I spent about four hours on the course today and I made a new cube:
Things I worked on:
- Fixing the game loop to run at a constant speed
- Adding types for working with triangles
- DDA line drawing
Maybe it doesn’t look as cool as the last one, but this one uses a system of triangles. One thing I noticed with the current rendering system is that each edge is drawn twice. Each edge is shared by two triangles and both triangles renders the edge. Maybe I could
make a list of edges and then draw each once. Anyway, I can’t wait to start filling the triangles! It’s going to look so cool with them filled.
An update on Vim: I’m still using it for all my code editing and I really like it so far. It’s strange to be typing away and just glance over at my mouse. I sometimes go like 20 minutes without using it. I’m writing this post in Vim. I usually use ghostwriter, but I’m testing to see if I like writing in Vim. Also, I’m finally starting to use caps lock as backspace and it’s so much better than regular backspace.
See you tomorrow!
That cube looks great!
Thanks!