TR_EnumerateEntitiesBox Function

Enumerates over entities in a box.

void TR_EnumerateEntitiesBox(const float mins[3], const float maxs[3], int mask, TraceEntityEnumerator enumerator, any data)

Parameters

const float[3] mins

Box minimum size.

const float[3] maxs

Box maximum size.

int mask

Mask to use for the trace. See PARTITION_* flags.

TraceEntityEnumerator enumerator

Function to use as enumerator. For each entity found along the box, this function is called.

any data

Arbitrary data value to pass through to the enumerator.