Skeleton.globalMatrices

Fill the given array with matrices each transforming a zero vector to the end of corresponding bones, relative to the model.

Given delegate will be called, for each bone, with the current matrix but pointing to the *start* of the bone.

struct Skeleton
const @trusted
void
globalMatrices
(
Matrix[] matrices
,
void delegate
(
Matrix
)
@safe
startCb = null
)
in (matrices.length == bones.length, "Length of the given matrix buffer doesn't match bones count")

Meta