MCPcopy Create free account
hub / github.com/axmolengine/axmol / updateBoneMatrix

Method updateBoneMatrix

core/3d/Skeleton3D.cpp:317–324  ·  view source on GitHub ↗

refresh bone world matrix

Source from the content-addressed store, hash-verified

315
316// refresh bone world matrix
317void Skeleton3D::updateBoneMatrix()
318{
319 for (const auto& it : _rootBones)
320 {
321 it->setWorldMatDirty(true);
322 it->updateWorldMat();
323 }
324}
325
326void Skeleton3D::removeAllBones()
327{

Callers 2

drawMethod · 0.80

Calls 2

setWorldMatDirtyMethod · 0.80
updateWorldMatMethod · 0.80

Tested by

no test coverage detected