navcat docs
    Preparing search index...

    Function getChunksOverlappingSegment

    • Get all triangle chunks that overlap with a line segment

      Parameters

      • chunkyTriMesh: ChunkyTriMesh

        the chunky tri mesh to query

      • p: Vec2

        start point of segment [x, z]

      • q: Vec2

        end point of segment [x, z]

      Returns number[]

      Array of node indices that overlap the segment