@pmndrs/bvh
    Preparing search index...

    Function treeSahCost

    • The SAH cost of a tree in the layout, relative to the root's box: the expected cost of a random ray through the root's box, counting traversalCost per inner node visited and intersectionCost per triangle tested. What GPU builders are judged by against tinybvh (bvh-framework.md, B2).

      Parameters

      Returns number