Base template for all plane-types.
type | all values get stored as this type (must be floating point) |
Holds the internal type of the plane.
Convenience alias to the corresponding vector type.
normal.x
normal.y
normal.z
Holds the planes normal.
Holds the planes "constant" (HNF).
Constructs the plane, from either four scalars of type pt or from a 3-dimensional vector (= normal) and a scalar.
Normalizes the plane inplace.
Returns a normalized copy of the plane.
Returns the distance from a point to the plane.
Returns the distance from a point to the plane.