QmlMaterial 0.1.0
Loading...
Searching...
No Matches
qml_material::sg::mesh::rrect_corner Struct Reference

#include <qml_material/scenegraph/mesh/corner_fan.hpp>

Detailed Description

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).


The documentation for this struct was generated from the following file: