Handmade Hero»Forums»Code
Andre
15 posts
Day 306 - About those rectangles...
I'm happy to report that the sorting problems on Day 306 were grossly exaggerated by a typo in PushRect:

1
rectangle2 ScreenArea = RectMinMax(Basis.P, ScaledDim);  /* RectMinDim */

Casey was so close to cluing in on it too by the end of the episode. Such is the life of a streaming programmer I guess.
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Day 306 - About those rectangles...
Thanks! We'll check it out on Monday.

And yeah, streaming programming is pretty tough :/ But hey, you get the benefit of folks finding your typos for you, so, the streaming giveth and the streaming taketh away, etc.?

- Casey