Clips a ray to a particular entity.
Handle TR_ClipRayToEntityEx(const float pos, const float vec, int flags, RayType rtype, int entity)
Starting position of the ray.
Depending on RayType, it will be used as the ending point, or the direction angle.
Method to calculate the ray direction.
Entity to clip to.
Ray trace handle, which must be closed via CloseHandle().