• Perform some operation over an array of vec3s.

    Function

    Parameters

    • a: any[]

      the array of vectors to iterate over

    • stride: number

      Number of elements between the start of each vec3. If 0 assumes tightly packed

    • offset: number

      Number of elements to skip at the beginning of the array

    • count: number

      Number of vec3s to iterate over. If 0 iterates over entire array

    • fn: Function

      Function to call for each vector in the array

    • Optional arg: any

      additional argument to pass to fn

    Returns any[]

    a

Generated using TypeDoc