ray_t
Ray shapes for trace.shape: a line, an offset line, a sphere, a box or a capsule.
ray_t()
ray_t(offset)
ray_t(center, radius)
ray_t(mins, maxs)
ray_t(a, b, radius)Constructs a line, a line whose start is shifted by offset, a sphere, a box or a capsule respectively. No readable fields.
Degenerate arguments fall back as the engine's Ray_t::Init does: a sphere with radius <= 0 is a line shifted by center; a box with mins == maxs is a line shifted by mins; a capsule with a == b is a sphere around a, and one with radius <= 0 is the box from a to b.
