TR_ClipCurrentRayToEntity Function

Clips the current global ray (or hull) to a particular entity.

void TR_ClipCurrentRayToEntity(int flags, int entity)

Parameters

int flags

Trace flags.

int entity

Entity to clip to.

Errors

Invalid entity.