Skip to main content

Module blend_space_2d

Module blend_space_2d 

Expand description

Zero-Heap 2D Delaunay Animation Blend Space (blend_space_2d.rs).

Bowyer–Watson 2D Delaunay triangulation over parameter space with $O(N)$ enclosing-triangle lookup, closest-hull-edge projection when outside the convex hull, and barycentric geodesic Motor::sclerp pose synthesis (HotZeroHeap).

Structs§

BlendPoint2D
A 2D parameter sample point inside a BlendSpace2D.
BlendSample2D
Result of sampling a BlendSpace2D at a 2D parameter coordinate.
BlendSpace2D
Fixed-capacity 2D Delaunay animation blend space (MAX_POINTS = 16, MAX_TRIS = 32).
BlendTriangle
A Delaunay triangle indexing 3 points in BlendSpace2D::points.

Functions§

sample_blend_space_2d_zero_heap
Samples a BlendSpace2D at query and blends the 3 enclosing triangle clip poses per joint using barycentric Motor::sclerp with zero heap allocation (HotZeroHeap).