ForesightMiningSoftwareCorporation / bevy_polyline

Polyline Rendering for Bevy

Home Page:https://crates.io/crates/bevy_polyline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider calculating miter in 3d instead of screen space

mtsr opened this issue · comments

This should reduce the incidence of the infinite miter to only when the line segments are almost parallel in 3d rather than in screenspace. A much less common scenario.

See https://mattdesl.svbtle.com/drawing-lines-is-hard