chiark / gitweb /
Redesign vec_bearing to distinguish all directions.
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 26 Dec 2013 13:58:29 +0000 (13:58 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 26 Dec 2013 13:58:29 +0000 (13:58 +0000)
commit702db19779cb6a6e35eeefbf324d39833998ec29
tree0b7836ede23ddf1d05512f2fcea7586c1121d800
parent921cfe9cd1c9329814814b842566278b5c9b1b48
Redesign vec_bearing to distinguish all directions.

It now returns the shortest representable vector parallel to its
argument, so it can be used to distinguish between all possible
directions of vector.  This means that the rest of the code can be
more flexible it what it produces.  This makes no change to the
resulting font.
bedstead.c