Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline void UTIL_TraceLine( const Vector& vecAbsStart, const Vector& vecAbsEnd, unsigned int mask,
- const IHandleEntity *ignore, int collisionGroup, trace_t *ptr )
- {
- Ray_t ray;
- ray.Init( vecAbsStart, vecAbsEnd );
- CTraceFilterSimple traceFilter( ignore, collisionGroup );
- enginetrace->TraceRay( ray, mask, &traceFilter, ptr );
- }
- inline void UTIL_TraceLine( const Vector& vecAbsStart, const Vector& vecAbsEnd, unsigned int mask,
- ITraceFilter *pFilter, trace_t *ptr )
- {
- Ray_t ray;
- ray.Init( vecAbsStart, vecAbsEnd );
- enginetrace->TraceRay( ray, mask, pFilter, ptr );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement