MAX_TRACE_LENGTH

From Valve Developer Community
Revision as of 11:05, 8 January 2024 by Thunder4ik (talk | contribs) (→‎See also: Unicodifying, replaced: See Also → See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MAX_TRACE_LENGTH is the maximum traceable distance (assumes cubic world and trace from one corner to opposite).

#define MAX_TRACE_LENGTH ( 1.732050807569 * COORD_EXTENT )

See also