init
Description:
Initializes the given Plane using the given normal
vector
and constant
values.
Parameters:
this |
the Plane to initialize |
normal |
a unit length normal vector defining the plane pointing towards the origin; if unset, we use the X axis by default |
constant |
the distance from the origin to the plane along the normal vector; the sign determines the half-space occupied by the plane |
Returns:
the initialized plane |