Rework PieChart implementation

Authored by ahiemstra on May 25 2020, 9:50 AM.

Description

Rework PieChart implementation

This makes use of the new sdf_torus_segment sdf function to render pie
chart segments in one go. This simplifies the shader greatly, removing
almost all need for preprocessing the pie segments in the pie chart node
and removing a double loop in the shader. The tradeoff is that the code
for rendering the actual segment is a little more complex.

Details

Committed
ahiemstraMay 25 2020, 9:50 AM
Parents
R1049:36dfb4500779: Fixup and comment sdf_torus_segment sdf function
Branches
Unknown
Tags
Unknown