Skip to main content

two_phase_spatial_3d

Function two_phase_spatial_3d 

Source
pub fn two_phase_spatial_3d<A, S, M, FOut, FIn>(
    store: &S,
    ids: &[AgentId],
    messages: &mut SpatialMessages3D<M>,
    output_fn: FOut,
    input_fn: FIn,
) -> TwoPhaseResult
where A: Agent, M: Clone, S: AgentStore<A>, FOut: FnMut(&A, &mut SpatialMessages3D<M>), FIn: FnMut(&mut A, &SpatialMessages3D<M>),
Expand description

Execute a two-phase step using 3D spatial messaging.

Same as two_phase_spatial_2d but for 3D spatial messages.