MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / UpdateWorldSRT

Method UpdateWorldSRT

GTE/Graphics/IKController.cpp:234–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void IKController::Joint::UpdateWorldSRT()
235{
236 Spatial const* parent = object->GetParent();
237 if (parent)
238 {
239 object->worldTransform = parent->worldTransform * object->localTransform;
240 }
241 else
242 {
243 object->worldTransform = object->localTransform;
244 }
245}
246
247void IKController::Joint::UpdateWorldRT()
248{

Callers 1

UpdateMethod · 0.80

Calls 1

GetParentMethod · 0.80

Tested by

no test coverage detected