Type Alias: GazeComparer()
GazeComparer = (
a,b) =>number
Defined in: packages/xr-input/src/pointer/gaze-conecaster.ts:21
Comparator over two GazeHit candidates. Return < 0 if a wins, > 0 if b wins, 0 for unchanged. The conecaster keeps the running best by comparing each new candidate against the current winner.
Parameters
a
b
Returns
number