You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function takes as an argument either a single object or an array of objects.
The argument Object(s) take the following fields:
start: Vector startPos
end: Vector endPos
direction: Vector dir
callback: Function f (Object {} value)
The argument object requires start, either end or direction, and optionally callback. The type of intersection testing depends on whether end or direction is specified. The function specified by callback is called on each result.
This function always returns an array of results that is the same size as the number of objects uses for arguments. The returned objects (and the object used as an argument to the callback function, have the following fields: