|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nexus::Expanse::evaluate | ( | uint32_t | fabric_id, |
| std::span< const std::pair< uint32_t, glm::vec3 > > | snapshot | ||
| ) |
Evaluate a spatial snapshot from one Fabric against this Expanse.
Runs the containment predicate against each position in snapshot, diffs the result against the previous occupant set for fabric_id, fires on_enter / on_exit for the difference, and updates the stored set. Each Fabric maintains independent occupant state.
| fabric_id | Stable id of the calling Fabric. |
| snapshot | All indexed positions from that Fabric's spatial index. |
Definition at line 7 of file Expanse.cpp.
References m_contains, m_occupants_by_fabric, m_on_enter, and m_on_exit.