fokkonaut / F-DDrace

F-DDrace is a server-side modification of Teeworlds, developed by fokkonaut.
Other
12 stars 16 forks source link

Rotating selected area in draweditor has floating points #186

Open fokkonaut opened 2 years ago

fokkonaut commented 2 years ago

Two lasers facing into each other might not be perfectly aligned after rotating anymore.

fokkonaut commented 2 years ago

Had tryed something here once: https://github.com/fokkonaut/F-DDrace/commit/9e1b3b5d172f6e26158c6c8ebbb763df78692a41

fokkonaut commented 2 years ago

probably WritePlotObjects() requires like 8 digits for the rotatation, but that alone wont fix it tho, but for the loading part at least