removeOpposing

Operators.Camera.removeOpposing()
removeOpposing(set: Set, x: T, y: T): void

If the input set contains both x and y, then both x and y are removed from the set. Otherwise this function does nothing.

Parameters

set: Set

The set to inspect and alter.

x: T

The value that cancels with y.

y: T

The value that cancels with x.

Returns: void