Link:Rust for Rustaceans
Link: https://nostarch.com/rust-rustaceansWant to #read
Personal Blog about anything - mostly programming, cooking and random thoughts
Want to #read
I've implemented a simple rectangle packing algorithm, which I want to use for the font texture.
The algorithm is only 40 lines long. It keeps track how far each row is already filled and greedily inserts rectangle at the place where they are "most to the left", starting with the tallest rectangles.
#gamedev progress:
I can now draw on scrolls :)
#gamedev progress:
#gamedev progress:
#gamedev progress:
#gamedev progress:
#gamedev progress:
The normals of the animated mesh still look wrong. Not yet sure why.