Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline void UTIL_TraceRay( const Ray_t &ray, unsigned int mask,
- const IHandleEntity *ignore, int collisionGroup, trace_t *ptr )
- {
- CTraceFilterSimple traceFilter( ignore, collisionGroup );
- enginetrace->TraceRay( ray, mask, &traceFilter, ptr );
- if( r_visualizetraces.GetBool() )
- {
- DebugDrawLine( ptr->startpos, ptr->endpos, 255, 0, 0, true, -1.0f );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement