MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ propagate_world_transforms()

void MayaFlux::Nodes::Network::MeshNetwork::propagate_world_transforms ( )
private

Definition at line 222 of file MeshNetwork.cpp.

223{
224 for (uint32_t idx : m_sorted_indices) {
225 auto& slot = m_slots[idx];
226 if (slot.parent_index.has_value()) {
227 slot.world_transform
228 = m_slots[slot.parent_index.value()].world_transform
229 * slot.local_transform;
230 } else {
231 slot.world_transform = slot.local_transform;
232 }
233 }
234}
std::vector< uint32_t > m_sorted_indices
Processing order: indices into m_slots, parents before children.

References m_slots, and m_sorted_indices.

Referenced by process_batch().

+ Here is the caller graph for this function: