MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / UpdateLocalTransform

Method UpdateLocalTransform

src/engine/SceneGraph.cpp:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void SceneGraphNode::UpdateLocalTransform()
246{
247 dm::daffine3 transform = dm::scaling(m_Scaling);
248 transform *= m_Rotation.toAffine();
249 transform *= dm::translation(m_Translation);
250 m_LocalTransform = transform;
251}
252
253void SceneGraphNode::PropagateDirtyFlags(DirtyFlags flags)
254{

Callers 1

RefreshMethod · 0.80

Calls 3

scalingFunction · 0.85
translationFunction · 0.85
toAffineMethod · 0.80

Tested by

no test coverage detected