navcat docs
    Preparing search index...
    • Get all triangles that overlap with a rectangular region

      Parameters

      • chunkyTriMesh: ChunkyTriMesh

        the chunky tri mesh to query

      • boundsMin: Vec2

        minimum corner of query rectangle [x, z]

      • boundsMax: Vec2

        maximum corner of query rectangle [x, z]

      Returns number[]

      Flat array of triangle indices [i0, i1, i2, i0, i1, i2, ...]