API

Function CopyMatrixToArray

  • Populates the given array from the starting index with the current matrix values

    Parameters

    • matrix: DeepImmutable<IMatrixLike>

      defines the source matrix

    • array: number[] | Float32Array<ArrayBufferLike>

      defines the target array

    • offset: number = 0

      defines the offset in the target array where to start storing values

    Returns void