MayaFlux 0.2.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 88 of file PhysicsOperator.cpp.

89{
90 if (m_collections.empty()) {
91 return;
92 }
93
95 integrate(dt);
98
99 for (auto& group : m_collections) {
100 group.collection->compute_frame();
101 }
102}
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: