• Similar to numpy.argsort(), but in TensorMath, we have no kind and order parameters. Also, tensor is always 3D, and axis can be equal to 0(x), 1(y) or 2(z).

    Parameters

    • inTensor: Float32Array
    • shape: vec3
    • axis: number
    • outTensor: Uint32Array

    Returns void