oskar / raycing

Raycing the grid
http://oskar.github.io/raycing/
1 stars 1 forks source link

Should be straight lines between each point/dot on map #7

Closed oskar closed 8 years ago

Korla commented 8 years ago

Works for angles non-divisible by 90 at the moment.

oskar commented 8 years ago

Heh, interesting bug. How come?

image

Korla commented 8 years ago

It's because the solution is to make an element which has corners on both positions and then drawing a diagonal line from corner to corner in that element.

Angles divisible by 90 lead to elements with width or height 0, so they get no line unfortunately.

oskar commented 8 years ago

This seems fixed now