Enumerates over entities along a ray hull. This may find entities that are close to the ray but do not actually intersect it. Use TR_Clip*RayToEntity with TR_DidHit to check if the ray actually intersects the entity.
void TR_EnumerateEntitiesHull(const float pos, const float vec, const float mins, const float maxs, int mask, TraceEntityEnumerator enumerator, any data)
Starting position of the ray.
Ending position of the ray.
Hull minimum size.
Hull maximum size.
Mask to use for the trace. See PARTITION_* flags.
Function to use as enumerator. For each entity found along the ray, this function is called.
Arbitrary data value to pass through to the enumerator.