TR_TraceRayEx

Last Updated2008-05-28
Created At2007-07-08

Starts up a new trace ray using a new trace result.

native Handle TR_TraceRayEx(const float pos[3], const float vec[3], int flags, RayType rtype)

Parameters

const float[3] pos
Starting position of the ray.
const float[3] vec
Depending on RayType, it will be used as the ending point, or the direction angle.
int flags
Trace flags.
RayType rtype
Method to calculate the ray direction.

Return Value

Handle Ray trace handle, which must be closed via CloseHandle().