Expand description
Avatar node transforms and low-level world or joint matrix calculation.
Structs§
- Avatar
Node - One node of the avatar’s scene graph: its rest pose plus parent/child links. Indices are the glTF node indices.
Functions§
- compute_
joint_ matrices - Computes the joint matrices for
skin(world matrix × inverse bind matrix per joint), applying the given bone rotations. - compute_
world_ matrices - Computes the world matrix of every node from the rest pose plus the given
per-node rotation deltas (
initial_rotation * delta), regardless of node index order.