@pmndrs/bvh
    Preparing search index...

    Function randomRays

    • Rays from random points inside the box (grown by margin) in random directions.

      Parameters

      • random: Random
      • count: number
      • bounds: readonly [number, number, number, number, number, number]
      • margin: number
      • options: { randomInterval?: boolean } = {}

      Returns TraceRay[]