gl3n_extra.plane

Members

Functions

intersectsLine
bool intersectsLine(const PlaneT!F plane, const Vector!(F, 3) lineOrigin, const Vector!(F, 3) lineVector, out Vector!(F, 3) intersection)

Find the intersection between a plane and a line, if any.

planeFromPointNormal
PlaneT!F planeFromPointNormal(const Vector!(F, 3) point, const Vector!(F, 3) normal)

Construct a plane from a point on the plane and normal of the plane.

Meta