The component-wise maximum of two vectors. For scalars use the max of the Basic module.
assert(max(xyz(1, 5, 3), xyz(4, 2, 6)) == xyz(4, 5, 6));max :: (v1: Vector2, v2: Vector2) -> Vector2
The larger of each pair of components.
Parameters
Returns
max :: (v1: Vector3, v2: Vector3) -> Vector3
The larger of each pair of components.
Parameters
Returns
max :: (v1: Vector4, v2: Vector4) -> Vector4
The larger of each pair of components.