cf_plane¶
Category: math
GitHub: cute_math.h
Constructs a halfspace (2D plane) from a normal and distance or from a normal and point.
Remarks¶
cf_plane(n, d)
creates a plane with signed distance d
from the origin.
cf_plane(n, p)
creates a plane passing through point p
with normal n
.