Function: planeEquation()
planeEquation(
normal,point,normalized):Plane
It returns the plane equation defined by a point and a normal vector.
Parameters
• normal: Point3
normal vector
• point: Point3 | vec3
a point on the plane
• normalized: boolean = false
if true, the values of the plane equation will be normalized
Returns
- [A, B,C, D] of plane equation AX + BY + C*Z = D