Max#

inline Point3 Max(const Point3 &a, const Point3 &b)#

Computes the component-wise maximum of two points.

Parameters:
  • a – [in] The first point.

  • b – [in] The second point.

Returns:

A new Point3 with each component being the maximum of the corresponding components.