summaryrefslogtreecommitdiff
path: root/scene/2d/physics_body_2d.cpp
diff options
context:
space:
mode:
authorrobfram <robfram@gmail.com>2018-03-10 20:51:42 +0100
committerrobfram <robfram@gmail.com>2018-03-10 20:51:42 +0100
commit7991bd168da1e0b8d0dc34635a35057aab466349 (patch)
tree9e9364a30ec038dcfd1dceacc5df7992ca2585d8 /scene/2d/physics_body_2d.cpp
parenteceba5aa6a36521c878cf976845123e820d27161 (diff)
Implement line clipping for `TextureProgress` to avoid bad rendering due to imprecise UV mapping
Original code used a quick aproximation for simulating the correspondent texel in the `TextureProgress` texture as radial progress indicator. This lead to visualization errors. Changed it for a Liang-Barsky line clipping algorithm stripped to its minimum for this specific use case. Fix #17364.
Diffstat (limited to 'scene/2d/physics_body_2d.cpp')
0 files changed, 0 insertions, 0 deletions