vm_geom3_planes struct

Intersection line of two planes.

Parallel planes, including coincident planes, are not a line: ok stays true and hit is false.

Public variables

bool ok
false if either normal is zero.
bool hit
true when the planes meet in one line.
vector3 point
A point on the line.
vector3 direction
Unit direction normalize(n0 × n1).