tline Rotation Demo

Published 2023-06-12


I was excited by the new tline function in 0.2.0, immediately tried to plug it into my project and ran into problems.

I made this demo to break down rotating the map to a fairly minimal program. I've added comments to explain the different data points and what they achieve when plugged into tline.

The demo shows a rotated 2D view into the map.

Left and right keys move the view. X toggles the unrotated map to show the direction of the rotated view relative to the map.

I hope this is useful to you! :)