Module: Math/Functions/VisitAll
Functions
VisitAll
▸ VisitAll(startPoint, endPoint, visitor?): number[]
Visit All
Given a starting point and an end point it will visit all voxels that are between them.
Parameters
| Name | Type |
|---|---|
startPoint | Position3Matrix |
endPoint | Position3Matrix |
visitor | (x: number, y: number, z: number) => boolean |
Returns
number[]
an array of numbers with a stride of 3 for positions