Math module

get_normal

procedureSource

The (a, b, c) normal of a plane (the same as its normal field).

Example↗
p := make_plane(xyz(0, 1, 0), xyz(0, 2, 0));
assert(get_normal(p) == xyz(0, 1, 0));
get_normal :: (p: Plane3) -> Vector3

The plane's normal.

Parameters

p: Plane3
the plane.

Returns

See also