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

◆ process()

void MayaFlux::Nodes::Network::PhysicsOperator::process ( float  dt)
overridevirtual

Process for one batch cycle.

Parameters
dtTime delta or sample count (operator-specific)

Implements MayaFlux::Nodes::Network::NetworkOperator.

Definition at line 90 of file PhysicsOperator.cpp.

91{
92 if (m_collections.empty()) {
93 return;
94 }
95
97 integrate(dt);
100
101 for (auto& group : m_collections) {
102 group.collection->compute_frame();
103 }
104}
std::vector< CollectionGroup > m_collections

References apply_forces(), handle_boundary_conditions(), integrate(), m_collections, and sync_to_point_collection().

+ Here is the call graph for this function: