99 uint out_primitive_id)
const
101 constexpr float MiterLimit = 0.75f;
116 if (sp1.
x < -area.
x || sp1.
x > area.
x) {
119 if (sp1.
y < -area.
y || sp1.
y > area.
y) {
122 if (sp2.
x < -area.
x || sp2.
x > area.
x) {
125 if (sp2.
y < -area.
y || sp2.
y > area.
y) {
144 float an1 =
dot(miter_a, n1);
145 float bn1 =
dot(miter_b, n2);
155 if (length_a <= 0.0f) {
158 if (length_b <= 0.0f) {
165 if (
dot(v0, v1) < -MiterLimit) {
170 if (
dot(v0, n1) > 0.0f) {
220 if (
dot(v1, v2) < -MiterLimit) {