• Sorts 2D points by polar angle relative to the center point.

    inTensor - Float32Array with size (point count * 2). 2D points to sort

    tensorShape - Should be {2, point count, 1}

    center - Center point to use for polar angle sorting

    Parameters

    • inTensor: Float32Array
    • tensorShape: vec3
    • center: vec2

    Returns void