-float TraceLine (vec3_t start, vec3_t end, vec3_t impact, vec3_t normal)
-{
- trace_t trace;
-
- memset (&trace, 0, sizeof(trace));
- VectorCopy (end, trace.endpos);
- trace.fraction = 1;
- SV_RecursiveHullCheck (cl.worldmodel->hulls, 0, 0, 1, start, end, &trace);
- VectorCopy (trace.endpos, impact);
- VectorCopy (trace.plane.normal, normal);
- return trace.fraction;
-}
-