TR_GetPlaneNormal Function

Find the normal vector to the collision plane of a trace.

void TR_GetPlaneNormal(Handle hndl, float normal[3])

Parameters

Handle hndl

A trace Handle, or INVALID_HANDLE to use a global trace result.

float[3] normal

Vector buffer to store the vector normal to the collision plane

Errors

Invalid Handle