Preparing search index...

    Function maxDistanceBetweenPoints

    • From the input points, finds the two points with the maximum distance between them and returns this distance. Works with points of any dimension count.

      points - Float32Array of size (point dimension count * point count). Points to find the max distance between.

      pointsShape - Should be {point dimension count, point count, 1}

      Parameters

      • points: Float32Array
      • pointsShape: vec3

      Returns number