|
QmlMaterial 0.1.0
|
#include <qml_material/scenegraph/mesh/corner_fan.hpp>
Per-corner geometry info for an rrect 4-corner iteration. corner_index is 0=TL, 1=TR, 2=BL, 3=BR. outer_x / outer_y: the rect's outer edge coord on that corner. inner_x / inner_y: outer shifted inward by inset (i.e. the umbra inset point). arc_x / arc_y: the point where the rounded arc starts on the outer edges (i.e. outer shifted inward by radius[i]). sign_x / sign_y: outward-normal sign for that corner (+/- 1).