vm_geom3_spheres struct
#include <vecmat/geom3.h>
Solid-ball overlap of two spheres.
One ball inside the other without the surfaces touching is still a hit.
Public variables
- bool ok
- false if either radius is negative.
- bool hit
- true when the balls overlap or touch.
-
vm_
float_ t distance - Distance between centers.