Skip to content

SpineClipBudget

Defined in: spine/spineMetrics.ts:30

What one skeleton’s clipping costs, in work rather than time. Three facts and not one score, because they do not grow alike: rawVertices prices OPENING a region and rises faster than itself, edgeWork prices the cut and is linear in triangles x edges, amplification is what clipping hands the stages after.

bypassedTriangles: number

Defined in: spine/spineMetrics.ts:43

…that were wholly inside a convex one and passed through untouched.


candidateTriangles: number

Defined in: spine/spineMetrics.ts:39

Triangles that reached the region at all.


chargedTriangles: number

Defined in: spine/spineMetrics.ts:45

…that the cut actually ran on. The only ones a budget is charged for.


edgeWork: number

Defined in: spine/spineMetrics.ts:47

Σ charged triangles x the edges of the region charging them.


effectiveEdges: number

Defined in: spine/spineMetrics.ts:36

Edges across those pieces — what a cut is actually charged per triangle.


inputVertices: number

Defined in: spine/spineMetrics.ts:49


outputTriangles: number

Defined in: spine/spineMetrics.ts:51


outputVertices: number

Defined in: spine/spineMetrics.ts:50


pieces: number

Defined in: spine/spineMetrics.ts:34

Convex pieces it decomposed into. More than one means concave.


rawVertices: number

Defined in: spine/spineMetrics.ts:32

The polygon as authored. Fixed by the attachment, not by the pose.


rejectedTriangles: number

Defined in: spine/spineMetrics.ts:41

…whose bounds could not meet it.


triangleAmplification: number

Defined in: spine/spineMetrics.ts:54


vertexAmplification: number

Defined in: spine/spineMetrics.ts:53

Sharing the cut destroyed: it rebuilds every triangle’s own vertices.