cdeevfrr / Photon

A video game
GNU General Public License v3.0
0 stars 0 forks source link

Correct VectorToLine to handle rounding issues #6

Closed cdeevfrr closed 2 years ago

cdeevfrr commented 2 years ago

There's a tiny rounding issue in vectorToLine where it may return too many or too few directions in the resulting line. There's a commented-out test that demonstrates the issue.

This issue is to make that test pass.