mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
4e58747709
Introduce limited plane rotation capability. We currently support clockwise and counterclockwise rotation of planes. Square and rectangular geometries are both supported, but there must be an even number of columns. The atomic unit of rotation is a 2x1 "square" (this assumes .5 cell aspect ratio). We can only rotate those glyphs which have rotated equivalents, and not even all of those. We currently handle only: * null glyph * space * upper half block * lower half block * full block I've added unit tests as well. This functionality is used by our Tetris example in the book |
||
---|---|---|
.. | ||
ncpp | ||
notcurses |